SettlementTransactionIdentifiers.fromJson constructor

SettlementTransactionIdentifiers.fromJson(
  1. Map json_
)

Implementation

SettlementTransactionIdentifiers.fromJson(core.Map json_)
    : this(
        adjustmentId: json_.containsKey('adjustmentId')
            ? json_['adjustmentId'] as core.String
            : null,
        merchantOrderId: json_.containsKey('merchantOrderId')
            ? json_['merchantOrderId'] as core.String
            : null,
        orderItemId: json_.containsKey('orderItemId')
            ? json_['orderItemId'] as core.String
            : null,
        settlementEntryId: json_.containsKey('settlementEntryId')
            ? json_['settlementEntryId'] as core.String
            : null,
        shipmentIds: json_.containsKey('shipmentIds')
            ? (json_['shipmentIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        transactionId: json_.containsKey('transactionId')
            ? json_['transactionId'] as core.String
            : null,
      );