DefaultPaymentFormTheme

Provide default theme with prefilled components

Functions

Link copied to clipboard

This function is used for merchant to provide all default components for theming

Link copied to clipboard
fun providePaymentFormComponents(paymentHeaderTitle: PaymentFormComponent = this.paymentHeaderTitle, cardScheme: PaymentFormComponent = this.cardScheme, cardNumber: PaymentFormComponent = this.cardNumber, cardHolderName: PaymentFormComponent = this.cardHolderName, billingFormCardHolderName: PaymentFormComponent = this.billingFormCardHolderName, expiryDate: PaymentFormComponent = this.expiryDate, cvv: PaymentFormComponent = this.cvv, billingSummaryTextStyle: PaymentFormComponent = this.billingSummaryHeader, addBillingSummaryButton: PaymentFormComponent = this.addBillingSummaryButton, editBillingSummaryButton: PaymentFormComponent = this.editBillingSummaryButton, billingSummaryContainer: PaymentFormComponent = this.billingSummaryPreview, payButton: PaymentFormComponent = this.payButton, billingDetailsHeader: PaymentFormComponent = this.billingDetailsHeader, billingDetailsHeaderButton: PaymentFormComponent = this.billingDetailsHeaderButton, addressLineOne: PaymentFormComponent = this.addressLineOne, addressLineTwo: PaymentFormComponent = this.addressLineTwo, city: PaymentFormComponent = this.city, state: PaymentFormComponent = this.state, postCode: PaymentFormComponent = this.postCode, phone: PaymentFormComponent = this.phone, country: PaymentFormComponent = this.country, countryPicker: PaymentFormComponent = this.countryPicker): List<PaymentFormComponent>

This function is used for merchant to provide specific custom component for theme