PaymentMethodData constructor
- @JsonSerializable(explicitToJson: true)
- BillingDetails? billingDetails,
- ShippingDetails? shippingDetails,
Implementation
@JsonSerializable(explicitToJson: true)
const factory PaymentMethodData({
/// Billing information.
BillingDetails? billingDetails,
/// Shipping details
ShippingDetails? shippingDetails,
}) = _PaymentMethodData;