EditPaymentSourceResponse

public struct EditPaymentSourceResponse : Codable, Equatable, Hashable

The response received after editing a payment source.

  • The ID of the payment source.

    Declaration

    Swift

    public let paymentSourceID: String
  • The updated display name of the payment source.

    Declaration

    Swift

    public let displayName: String
  • HAL links related to the edited payment source.

    Declaration

    Swift

    public let links: EditPaymentSourceResponseLinks
  • The embedded data associated with the payment source.

    Declaration

    Swift

    public let embedded: Embedded?
  • Creates an instance of EditPaymentSourceResponse with the specified parameters.

    Declaration

    Swift

    public init(
        paymentSourceID: String,
        displayName: String,
        links: EditPaymentSourceResponseLinks,
        embedded: Embedded?
    )

    Parameters

    paymentSourceID

    The ID of the payment source.

    displayName

    The updated display name of the payment source.

    links

    HAL links related to the edited payment source.

    embedded

    The embedded data associated with the payment source.

  • The embedded data associated with the payment source.

    See more

    Declaration

    Swift

    struct Embedded : Codable, Equatable, Hashable
  • HAL links related to the edited payment source.

    See more

    Declaration

    Swift

    struct EditPaymentSourceResponseLinks : Codable, Equatable, Hashable