ClimateOrder constructor
const
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
Orders represent your intent to purchase a particular Climate product. When you create an order, the payment is deducted from your merchant balance.
Implementation
const ClimateOrder({
required this.amountFees,
required this.amountSubtotal,
required this.amountTotal,
this.beneficiary,
this.canceledAt,
this.cancellationReason,
this.certificate,
this.confirmedAt,
required this.created,
required this.currency,
this.delayedAt,
this.deliveredAt,
required this.deliveryDetails,
required this.expectedDeliveryYear,
required this.id,
required this.livemode,
required this.metadata,
required this.metricTons,
required this.product,
this.productSubstitutedAt,
required this.status,
});