toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (batchId != null) 'batchId': batchId!,
if (inventory != null) 'inventory': inventory!,
if (merchantId != null) 'merchantId': merchantId!,
if (method != null) 'method': method!,
if (sale != null) 'sale': sale!,
if (store != null) 'store': store!,
if (storeCode != null) 'storeCode': storeCode!,
if (targetMerchantId != null) 'targetMerchantId': targetMerchantId!,
};