LinkFiveOneTimePurchase.fromJson constructor

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

Implementation

factory LinkFiveOneTimePurchase.fromJson(Map<String, dynamic> json) => LinkFiveOneTimePurchase(
      productId: json["productId"],
      orderId: json["orderId"],
      purchaseDate: DateTime.parse(json["purchaseDate"]),
      storeType: json["storeType"],
      customerUserId: json["customerUserId"],
      attributes: json["attributes"],
    );