-
@Stable() public final class PaywallSectionData
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PaywallSectionData(String title, String subtitle, String image_url, String image_alignment, Float image_max_height, TextStyleConfig title_style, TextStyleConfig subtitle_style, ImmutableList<String> features, ImmutableList<PaywallPlan> plans, PaywallCTA cta, Double rating, Integer review_count, String testimonial, String sub_type, Integer countdown_seconds, String text, String guarantee_text, Float height, Float corner_radius, Float lottie_height, Float video_height, Float spacer_height, String quote, String author_name, String author_role, String avatar_url, String lottie_url, Boolean lottie_loop, Float lottie_speed, String rive_url, String rive_state_machine, String video_url, String video_thumbnail_url, Boolean video_autoplay, Boolean video_loop, String variant, Integer duration_seconds, String target_datetime, Boolean show_days, Boolean show_hours, Boolean show_minutes, Boolean show_seconds, Map<String, String> labels, String on_expire_action, String expired_text, String accent_color, String background_color, Float font_size, String alignment, String color, List<PaywallLink> links, Float thickness, String line_style, Float margin_top, Float margin_bottom, Float margin_horizontal, String label_text, String label_color, String label_bg_color, Float label_font_size, String layout, String cta_text, String cta_bg_color, String cta_text_color, Float cta_corner_radius, String secondary_text, String secondary_action, String secondary_url, String legal_text, Boolean blur_background, Float padding, List<PaywallCarouselPage> pages, Boolean auto_scroll, Integer auto_scroll_interval_ms, Boolean show_indicators, String indicator_color, String indicator_active_color, List<PaywallGenericItem> items, String line_color, String completed_color, String current_color, String upcoming_color, Boolean show_line, Boolean compact, Integer columns, Float icon_size, String icon_color, Float spacing, List<PaywallTableColumn> table_columns, List<PaywallTableRow> rows, String check_color, String cross_color, String highlight_color, String border_color, String placeholder, String button_text, String success_text, String error_text, String label, String description, Boolean default_value, String on_color, String off_color, String label_color_val, String description_color, String icon, Boolean affects_price, List<PaywallReview> reviews, Boolean show_rating_stars, String star_color, String plan_display_style, Float card_corner_radius, Float card_padding, Float card_gap, Float card_height, Object card_shadow, String badge_position, String badge_shape, String badge_bg_color, String badge_text_color, Float badge_font_size, Boolean show_plan_icons, Boolean show_plan_images, Boolean show_plan_subtitles, Boolean show_plan_features, Boolean show_savings, String subtitle_position, String selected_text_color, String unselected_border_color, String unselected_bg_color, String selected_border_color, String selected_bg_color, Boolean show_divider, String divider_color, String strikethrough_color, Float strikethrough_font_size, Float strikethrough_gap, String price_layout, String badge_border_color, Float badge_border_width, String badge_icon, String restore_text, Boolean show_restore, String restore_position, String restore_text_color, Float restore_font_size, PaywallGradient cta_gradient, Float cta_height, Float cta_font_size, String cta_font_weight)
-
Method Summary
-
-
Constructor Detail
-
PaywallSectionData
PaywallSectionData(String title, String subtitle, String image_url, String image_alignment, Float image_max_height, TextStyleConfig title_style, TextStyleConfig subtitle_style, ImmutableList<String> features, ImmutableList<PaywallPlan> plans, PaywallCTA cta, Double rating, Integer review_count, String testimonial, String sub_type, Integer countdown_seconds, String text, String guarantee_text, Float height, Float corner_radius, Float lottie_height, Float video_height, Float spacer_height, String quote, String author_name, String author_role, String avatar_url, String lottie_url, Boolean lottie_loop, Float lottie_speed, String rive_url, String rive_state_machine, String video_url, String video_thumbnail_url, Boolean video_autoplay, Boolean video_loop, String variant, Integer duration_seconds, String target_datetime, Boolean show_days, Boolean show_hours, Boolean show_minutes, Boolean show_seconds, Map<String, String> labels, String on_expire_action, String expired_text, String accent_color, String background_color, Float font_size, String alignment, String color, List<PaywallLink> links, Float thickness, String line_style, Float margin_top, Float margin_bottom, Float margin_horizontal, String label_text, String label_color, String label_bg_color, Float label_font_size, String layout, String cta_text, String cta_bg_color, String cta_text_color, Float cta_corner_radius, String secondary_text, String secondary_action, String secondary_url, String legal_text, Boolean blur_background, Float padding, List<PaywallCarouselPage> pages, Boolean auto_scroll, Integer auto_scroll_interval_ms, Boolean show_indicators, String indicator_color, String indicator_active_color, List<PaywallGenericItem> items, String line_color, String completed_color, String current_color, String upcoming_color, Boolean show_line, Boolean compact, Integer columns, Float icon_size, String icon_color, Float spacing, List<PaywallTableColumn> table_columns, List<PaywallTableRow> rows, String check_color, String cross_color, String highlight_color, String border_color, String placeholder, String button_text, String success_text, String error_text, String label, String description, Boolean default_value, String on_color, String off_color, String label_color_val, String description_color, String icon, Boolean affects_price, List<PaywallReview> reviews, Boolean show_rating_stars, String star_color, String plan_display_style, Float card_corner_radius, Float card_padding, Float card_gap, Float card_height, Object card_shadow, String badge_position, String badge_shape, String badge_bg_color, String badge_text_color, Float badge_font_size, Boolean show_plan_icons, Boolean show_plan_images, Boolean show_plan_subtitles, Boolean show_plan_features, Boolean show_savings, String subtitle_position, String selected_text_color, String unselected_border_color, String unselected_bg_color, String selected_border_color, String selected_bg_color, Boolean show_divider, String divider_color, String strikethrough_color, Float strikethrough_font_size, Float strikethrough_gap, String price_layout, String badge_border_color, Float badge_border_width, String badge_icon, String restore_text, Boolean show_restore, String restore_position, String restore_text_color, Float restore_font_size, PaywallGradient cta_gradient, Float cta_height, Float cta_font_size, String cta_font_weight)
-
-
Method Detail
-
getSubtitle
final String getSubtitle()
-
getImage_url
final String getImage_url()
-
getImage_alignment
final String getImage_alignment()
Header graphic alignment: "leading" | "center" (default) | "trailing".
-
getImage_max_height
final Float getImage_max_height()
Max height for the header graphic (default 200).
-
getTitle_style
final TextStyleConfig getTitle_style()
-
getSubtitle_style
final TextStyleConfig getSubtitle_style()
-
getFeatures
final ImmutableList<String> getFeatures()
-
getPlans
final ImmutableList<PaywallPlan> getPlans()
-
getCta
final PaywallCTA getCta()
-
getReview_count
final Integer getReview_count()
-
getTestimonial
final String getTestimonial()
-
getSub_type
final String getSub_type()
-
getCountdown_seconds
final Integer getCountdown_seconds()
-
getGuarantee_text
final String getGuarantee_text()
-
getCorner_radius
final Float getCorner_radius()
-
getLottie_height
final Float getLottie_height()
-
getVideo_height
final Float getVideo_height()
-
getSpacer_height
final Float getSpacer_height()
-
getAuthor_name
final String getAuthor_name()
-
getAuthor_role
final String getAuthor_role()
-
getAvatar_url
final String getAvatar_url()
-
getLottie_url
final String getLottie_url()
-
getLottie_loop
final Boolean getLottie_loop()
-
getLottie_speed
final Float getLottie_speed()
-
getRive_url
final String getRive_url()
-
getRive_state_machine
final String getRive_state_machine()
-
getVideo_url
final String getVideo_url()
-
getVideo_thumbnail_url
final String getVideo_thumbnail_url()
-
getVideo_autoplay
final Boolean getVideo_autoplay()
-
getVideo_loop
final Boolean getVideo_loop()
-
getVariant
final String getVariant()
-
getDuration_seconds
final Integer getDuration_seconds()
-
getTarget_datetime
final String getTarget_datetime()
-
getShow_days
final Boolean getShow_days()
-
getShow_hours
final Boolean getShow_hours()
-
getShow_minutes
final Boolean getShow_minutes()
-
getShow_seconds
final Boolean getShow_seconds()
-
getOn_expire_action
final String getOn_expire_action()
-
getExpired_text
final String getExpired_text()
-
getAccent_color
final String getAccent_color()
-
getBackground_color
final String getBackground_color()
-
getFont_size
final Float getFont_size()
-
getAlignment
final String getAlignment()
-
getLinks
final List<PaywallLink> getLinks()
-
getThickness
final Float getThickness()
-
getLine_style
final String getLine_style()
-
getMargin_top
final Float getMargin_top()
-
getMargin_bottom
final Float getMargin_bottom()
-
getMargin_horizontal
final Float getMargin_horizontal()
-
getLabel_text
final String getLabel_text()
-
getLabel_color
final String getLabel_color()
-
getLabel_bg_color
final String getLabel_bg_color()
-
getLabel_font_size
final Float getLabel_font_size()
-
getCta_text
final String getCta_text()
-
getCta_bg_color
final String getCta_bg_color()
-
getCta_text_color
final String getCta_text_color()
-
getCta_corner_radius
final Float getCta_corner_radius()
-
getSecondary_text
final String getSecondary_text()
-
getSecondary_action
final String getSecondary_action()
-
getSecondary_url
final String getSecondary_url()
-
getLegal_text
final String getLegal_text()
-
getBlur_background
final Boolean getBlur_background()
-
getPadding
final Float getPadding()
-
getPages
final List<PaywallCarouselPage> getPages()
-
getAuto_scroll
final Boolean getAuto_scroll()
-
getAuto_scroll_interval_ms
final Integer getAuto_scroll_interval_ms()
-
getShow_indicators
final Boolean getShow_indicators()
-
getIndicator_color
final String getIndicator_color()
-
getIndicator_active_color
final String getIndicator_active_color()
-
getItems
final List<PaywallGenericItem> getItems()
-
getLine_color
final String getLine_color()
-
getCompleted_color
final String getCompleted_color()
-
getCurrent_color
final String getCurrent_color()
-
getUpcoming_color
final String getUpcoming_color()
-
getShow_line
final Boolean getShow_line()
-
getCompact
final Boolean getCompact()
-
getColumns
final Integer getColumns()
-
getIcon_size
final Float getIcon_size()
-
getIcon_color
final String getIcon_color()
-
getSpacing
final Float getSpacing()
-
getTable_columns
final List<PaywallTableColumn> getTable_columns()
-
getRows
final List<PaywallTableRow> getRows()
-
getCheck_color
final String getCheck_color()
-
getCross_color
final String getCross_color()
-
getHighlight_color
final String getHighlight_color()
-
getBorder_color
final String getBorder_color()
-
getPlaceholder
final String getPlaceholder()
-
getButton_text
final String getButton_text()
-
getSuccess_text
final String getSuccess_text()
-
getError_text
final String getError_text()
-
getDescription
final String getDescription()
-
getDefault_value
final Boolean getDefault_value()
-
getOn_color
final String getOn_color()
-
getOff_color
final String getOff_color()
-
getLabel_color_val
final String getLabel_color_val()
-
getDescription_color
final String getDescription_color()
-
getAffects_price
final Boolean getAffects_price()
-
getReviews
final List<PaywallReview> getReviews()
-
getShow_rating_stars
final Boolean getShow_rating_stars()
-
getStar_color
final String getStar_color()
-
getPlan_display_style
final String getPlan_display_style()
-
getCard_corner_radius
final Float getCard_corner_radius()
-
getCard_padding
final Float getCard_padding()
-
getCard_gap
final Float getCard_gap()
-
getCard_height
final Float getCard_height()
-
getCard_shadow
final Object getCard_shadow()
-
getBadge_position
final String getBadge_position()
-
getBadge_shape
final String getBadge_shape()
-
getBadge_bg_color
final String getBadge_bg_color()
-
getBadge_text_color
final String getBadge_text_color()
-
getBadge_font_size
final Float getBadge_font_size()
-
getShow_plan_icons
final Boolean getShow_plan_icons()
-
getShow_plan_images
final Boolean getShow_plan_images()
-
getShow_plan_subtitles
final Boolean getShow_plan_subtitles()
-
getShow_plan_features
final Boolean getShow_plan_features()
-
getShow_savings
final Boolean getShow_savings()
-
getSubtitle_position
final String getSubtitle_position()
Where to place plan.description ("above_price" / "below_price").
-
getSelected_text_color
final String getSelected_text_color()
Color flip when card is selected (iOS
selected_text_color).
-
getUnselected_border_color
final String getUnselected_border_color()
Border color when card is NOT selected (iOS unselected_border_color).
-
getUnselected_bg_color
final String getUnselected_bg_color()
Background tint when card is NOT selected (iOS unselected_bg_color).
-
getSelected_border_color
final String getSelected_border_color()
Border color when card IS selected.
-
getSelected_bg_color
final String getSelected_bg_color()
Background color when card IS selected.
-
getShow_divider
final Boolean getShow_divider()
Optional divider between plan rows (e.g. radio_list).
-
getDivider_color
final String getDivider_color()
-
getStrikethrough_color
final String getStrikethrough_color()
Color of the struck-through original price (plans[].original_price_display).
-
getStrikethrough_font_size
final Float getStrikethrough_font_size()
SPEC-438 (#548) — size of the struck price + its gap to the current price. Both were hardcoded, so an author could set the colour and nothing else.
-
getStrikethrough_gap
final Float getStrikethrough_gap()
-
getPrice_layout
final String getPrice_layout()
SPEC-438 (#548) — "inline" (default, unchanged) or "headline_stacked": a large current price with the struck was-price and the real charged total beneath it.
-
getBadge_border_color
final String getBadge_border_color()
Badge border styling (iOS PaywallConfig.swift:266-268).
-
getBadge_border_width
final Float getBadge_border_width()
-
getBadge_icon
final String getBadge_icon()
-
getRestore_text
final String getRestore_text()
-
getShow_restore
final Boolean getShow_restore()
-
getRestore_position
final String getRestore_position()
-
getRestore_text_color
final String getRestore_text_color()
-
getRestore_font_size
final Float getRestore_font_size()
-
getCta_gradient
final PaywallGradient getCta_gradient()
-
getCta_height
final Float getCta_height()
-
getCta_font_size
final Float getCta_font_size()
-
getCta_font_weight
final String getCta_font_weight()
-
-
-
-