ClimateOrder constructor

const ClimateOrder({
  1. required int amountFees,
  2. required int amountSubtotal,
  3. required int amountTotal,
  4. ClimateRemovalsBeneficiary? beneficiary,
  5. DateTime? canceledAt,
  6. ClimateOrderCancellationReason? cancellationReason,
  7. String? certificate,
  8. DateTime? confirmedAt,
  9. required DateTime created,
  10. required String currency,
  11. DateTime? delayedAt,
  12. DateTime? deliveredAt,
  13. required List<ClimateRemovalsOrderDeliveries> deliveryDetails,
  14. required int expectedDeliveryYear,
  15. required String id,
  16. required bool livemode,
  17. required Map<String, String> metadata,
  18. required String metricTons,
  19. required ClimateProductOrId product,
  20. DateTime? productSubstitutedAt,
  21. 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,
});