Skip to content

Commit

Permalink
Clarify amount and currency promo banner options
Browse files Browse the repository at this point in the history
  • Loading branch information
atsikov committed Sep 6, 2024
1 parent 4cee6ec commit fdb15f4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -758,9 +758,9 @@ export interface WidgetUpsellPromotionalBannerSignUpBannerOptions {
variant?: 'sign_up'
/** Unique id of transaction user has just performed */
transactionId: string
/** Max cashback amount */
/** Transaction amount */
amount?: number
/** Cashback currency */
/** Transaction currency */
currency: string
/** Prefilled customer details within the banner */
customer?: Partial<CustomerDetails>
Expand All @@ -776,27 +776,27 @@ export interface WidgetUpsellPromotionalBannerSignUpBannerOptions {
export interface WidgetUpsellPromotionalBannerInformationalBannerOptions {
/** Promotional banner with a summary of Revolut Pay benefits, allowing to view more details on click */
variant: 'banner'
/** Max cashback amount */
/** Checkout amount */
amount?: number
/** Cashback currency */
/** Checkout currency */
currency: string
}

export interface WidgetUpsellPromotionalBannerInformationalLinkOptions {
/** Promotional banner displayed as a link, allowing to view Revolut Pay details on click */
variant: 'link'
/** Max cashback amount */
/** Checkout amount */
amount?: number
/** Cashback currency */
/** Checkout currency */
currency: string
}

export interface WidgetUpsellPromotionalBannerInformationalIconOptions {
/** Promotional banner displayed as an icon, allowing to view Revolut Pay details on click */
variant: 'icon'
/** Max cashback amount */
/** Checkout amount */
amount?: number
/** Cashback currency */
/** Checkout currency */
currency: string
}

Expand Down

0 comments on commit fdb15f4

Please sign in to comment.