ShippingRate class final
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).
- Implemented types
Constructors
- 
          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
            const
- ShippingRate.fromJson(Object? json)
- 
          
            factory
Properties
- active → bool
- 
  
  final
- created → DateTime
- 
  
  final
- deliveryEstimate → ShippingRateDeliveryEstimate?
- 
  The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
  final
- displayName → String?
- 
  
  final
- fixedAmount → ShippingRateFixedAmount?
- 
  
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- id → String
- 
  The ID of the ShippingRate.
  final
- livemode → bool
- 
  
  final
- 
  metadata
  → Map<String, String> 
- 
  
  final
- object → String
- 
  The resource's type.
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- taxBehavior → CurrencyOptionTaxBehavior?
- 
  
  final
- taxCode → TaxCodeOrId?
- 
  
  final
- type → String
- 
  
  final
Methods
- 
  encodeWith<V> (Encoder< V> encoder) → V
- 
  
  override
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, Object?> 
- 
  
  override
- 
  toString() → String 
- 
  A string representation of this object.
  override
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
Static Methods
- 
  encode<V> (ShippingRate instance, Encoder< V> encoder) → V
- 
  
  override