OrderinvoicesCreateChargeInvoiceRequest.fromJson constructor
OrderinvoicesCreateChargeInvoiceRequest.fromJson(
- Map json_
Implementation
OrderinvoicesCreateChargeInvoiceRequest.fromJson(core.Map json_)
: this(
invoiceId: json_.containsKey('invoiceId')
? json_['invoiceId'] as core.String
: null,
invoiceSummary: json_.containsKey('invoiceSummary')
? InvoiceSummary.fromJson(json_['invoiceSummary']
as core.Map<core.String, core.dynamic>)
: null,
lineItemInvoices: json_.containsKey('lineItemInvoices')
? (json_['lineItemInvoices'] as core.List)
.map((value) => ShipmentInvoiceLineItemInvoice.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
operationId: json_.containsKey('operationId')
? json_['operationId'] as core.String
: null,
shipmentGroupId: json_.containsKey('shipmentGroupId')
? json_['shipmentGroupId'] as core.String
: null,
);