CheckoutApprovePaymentResult

struct CheckoutApprovePaymentResult
extension CheckoutApprovePaymentResult : Decodable, Encodable, Equatable

Undocumented

  • Creates a new instance by decoding from the given decoder.

    This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.

    Declaration

    Swift

    init(from decoder: Decoder) throws
  • Since GQLCheckoutSession has internal types we can use a shadow property to expose our paymentID,

    Declaration

    Swift

    let paymentID: String?
  • Undocumented

    Declaration

    Swift

    var session: CheckoutSession { get }