CardCustomFields

public struct CardCustomFields : Codable, Sendable

The card custom fields.

  • The shipping method.

    Declaration

    Swift

    public let shippingMethodString: String?
  • The shipping method.

    Declaration

    Swift

    public var shippingMethod: CardShippingMethod? { get }
  • Name on card. Character limits depend on card product.

    Declaration

    Swift

    public let nameOnCard: String?
  • ID of the carrier in which this card should be shipped.

    Declaration

    Swift

    public let carrierId: String?
  • Message to be printed in the carrier.

    Declaration

    Swift

    public let carrierMessage: String?
  • Auxiliary constructor.

    Declaration

    Swift

    public init(
        shippingMethod: CardShippingMethod? = nil,
        nameOnCard: String? = nil,
        carrierId: String? = nil,
        carrierMessage: String? = nil
    )

    Parameters

    shippingMethod

    The shipping method.

    nameOnCard

    Name on card. Character limits depend on card product.

    carrierId

    ID of the carrier in which this card should be shipped.

    carrierMessage

    Message to be printed in the carrier.