OrderReportDisbursement.fromJson constructor

OrderReportDisbursement.fromJson(
  1. Map json_
)

Implementation

OrderReportDisbursement.fromJson(core.Map json_)
    : this(
        disbursementAmount: json_.containsKey('disbursementAmount')
            ? Price.fromJson(json_['disbursementAmount']
                as core.Map<core.String, core.dynamic>)
            : null,
        disbursementCreationDate:
            json_.containsKey('disbursementCreationDate')
                ? json_['disbursementCreationDate'] as core.String
                : null,
        disbursementDate: json_.containsKey('disbursementDate')
            ? json_['disbursementDate'] as core.String
            : null,
        disbursementId: json_.containsKey('disbursementId')
            ? json_['disbursementId'] as core.String
            : null,
        merchantId: json_.containsKey('merchantId')
            ? json_['merchantId'] as core.String
            : null,
      );