ShippingRate constructor
const
ShippingRate({
- required bool active,
- required DateTime created,
- ShippingRateDeliveryEstimate? deliveryEstimate,
- String? displayName,
- ShippingRateFixedAmount? fixedAmount,
- required String id,
- required bool livemode,
- required Map<
String, String> metadata, - CurrencyOptionTaxBehavior? taxBehavior,
- TaxCodeOrId? taxCode,
ShippingRate
Shipping rates describe the price of shipping presented to your customers and applied to a purchase. For more information, see [Charge for shipping](https://stripe.com/docs/payments/during-payment/charge-shipping).
Implementation
const ShippingRate({
required this.active,
required this.created,
this.deliveryEstimate,
this.displayName,
this.fixedAmount,
required this.id,
required this.livemode,
required this.metadata,
this.taxBehavior,
this.taxCode,
});