copyWith method

PaymentMethodAttributes copyWith({
  1. PaymentType? type,
  2. PaymentMethodDetails? details,
  3. PayMongoBilling? billing,
})

billing for customer

Implementation

PaymentMethodAttributes copyWith({
  PaymentType? type,
  PaymentMethodDetails? details,
  PayMongoBilling? billing,
}) {
  return PaymentMethodAttributes(
    type: type ?? this.type,
    details: details ?? this.details,
    billing: billing ?? this.billing,
  );
}