DiscountAllocations.fromJson constructor

DiscountAllocations.fromJson(
  1. Map<String, dynamic> json
)

Implementation

DiscountAllocations.fromJson(Map<String, dynamic> json) {
  amount = json['amount'];
  discountApplicationIndex = json['discount_application_index'];
}