ClimateOrder class final

ClimateRemovalsOrders

Orders represent your intent to purchase a particular Climate product. When you create an order, the payment is deducted from your merchant balance.

Implemented types

Constructors

ClimateOrder({required int amountFees, required int amountSubtotal, required int amountTotal, ClimateRemovalsBeneficiary? beneficiary, DateTime? canceledAt, ClimateOrderCancellationReason? cancellationReason, String? certificate, DateTime? confirmedAt, required DateTime created, required String currency, DateTime? delayedAt, DateTime? deliveredAt, required List<ClimateRemovalsOrderDeliveries> deliveryDetails, required int expectedDeliveryYear, required String id, required bool livemode, required Map<String, String> metadata, required String metricTons, required ClimateProductOrId product, DateTime? productSubstitutedAt, required ClimateOrderStatus status})
ClimateRemovalsOrders
const
ClimateOrder.fromJson(Object? json)
factory

Properties

amountFees int
final
amountSubtotal int
final
amountTotal int
final
beneficiary ClimateRemovalsBeneficiary?
final
canceledAt DateTime?
final
cancellationReason ClimateOrderCancellationReason?
final
certificate String?
final
confirmedAt DateTime?
final
created DateTime
final
currency String
final
delayedAt DateTime?
final
deliveredAt DateTime?
final
deliveryDetails List<ClimateRemovalsOrderDeliveries>
final
expectedDeliveryYear int
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
livemode bool
final
metadata Map<String, String>
final
metricTons String
final
object String
The resource's type.
final
product ClimateProductOrId
final
productSubstitutedAt DateTime?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ClimateOrderStatus
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>(ClimateOrder instance, Encoder<V> encoder) → V