toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final customerShippingFee = this.customerShippingFee;
  final deliveryPostalCode = this.deliveryPostalCode;
  final deliveryRegionCode = this.deliveryRegionCode;
  final lineItems = this.lineItems;
  final merchantId = this.merchantId;
  final orderCreatedTime = this.orderCreatedTime;
  final orderId = this.orderId;
  final orderTrackingSignalId = this.orderTrackingSignalId;
  final shipmentLineItemMapping = this.shipmentLineItemMapping;
  final shippingInfo = this.shippingInfo;
  return {
    'customerShippingFee': ?customerShippingFee,
    'deliveryPostalCode': ?deliveryPostalCode,
    'deliveryRegionCode': ?deliveryRegionCode,
    'lineItems': ?lineItems,
    'merchantId': ?merchantId,
    'orderCreatedTime': ?orderCreatedTime,
    'orderId': ?orderId,
    'orderTrackingSignalId': ?orderTrackingSignalId,
    'shipmentLineItemMapping': ?shipmentLineItemMapping,
    'shippingInfo': ?shippingInfo,
  };
}