PaymentCapture constructor
- @JsonSerializable(includeIfNull: false)
Implementation
@JsonSerializable(includeIfNull: false)
const factory PaymentCapture({
required String mode, // 'automatic' or 'manual'
required String refund_speed, // 'normal' or 'optimum'
required int automatic_expiry_period,
}) = _PaymentCapture;