PricingPolicy

public struct PricingPolicy : Codable, Equatable

Representation of the pricing policy for each funding source provicer which make up a component of the virtual cards configuration.

Properties

  • The Stripe-specific pricing policy.

    Declaration

    Swift

    public let stripe: StripePricingPolicy?
  • The Checkout-specific pricing policy.

    Declaration

    Swift

    public let checkout: CheckoutPricingPolicy?

Conformance: Codable

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws

Lifecycle

  • Initialise an instance of PricingPolicy.

    Declaration

    Swift

    public init(stripe: StripePricingPolicy? = nil, checkout: CheckoutPricingPolicy? = nil)