Configuration

public struct Configuration

Configuration for the ACH Direct Debit Component

  • Determines whether the billing address should be displayed or not. Defaults to true.

    Declaration

    Swift

    public var showsBillingAddress: Bool
  • List of ISO country codes that is supported for the billing address. Defaults to [“US”, “PR”].

    Declaration

    Swift

    public var billingAddressCountryCodes: [String]
  • Initializes the configuration for ACH Direct Debit Component.

    Declaration

    Swift

    public init(showsBillingAddress: Bool = true,
                billingAddressCountryCodes: [String] = ["US", "PR"])

    Parameters

    showsBillingAddress

    Determines whether the billing address should be displayed or not. Defaults to true.

    billingAddressCountryCodes

    ISO country codes that is supported for the billing address. Defaults to [“US”, “PR”].