ConfirmAlipayPaymentData constructor

const ConfirmAlipayPaymentData({
  1. @JsonKey(name: "payment_method") String? paymentMethod,
  2. @JsonKey(name: "return_url") String? returnUrl,
})

Implementation

const factory ConfirmAlipayPaymentData({
  /// Either the id of an existing PaymentMethod, or an object containing
  /// data to create a PaymentMethod with.
  /// See the use case sections below for details.
  @JsonKey(name: "payment_method") String? paymentMethod,

  /// The url your customer will be directed to after they complete authentication.
  @JsonKey(name: "return_url") String? returnUrl,
}) = _ConfirmAlipayPaymentData;