toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final billingAddress = this.billingAddress;
  final cardBin = this.cardBin;
  final cardLastFour = this.cardLastFour;
  final currencyCode = this.currencyCode;
  final gatewayInfo = this.gatewayInfo;
  final items = this.items;
  final merchants = this.merchants;
  final paymentMethod = this.paymentMethod;
  final shippingAddress = this.shippingAddress;
  final shippingValue = this.shippingValue;
  final transactionId = this.transactionId;
  final user = this.user;
  final value = this.value;
  return {
    'billingAddress': ?billingAddress,
    'cardBin': ?cardBin,
    'cardLastFour': ?cardLastFour,
    'currencyCode': ?currencyCode,
    'gatewayInfo': ?gatewayInfo,
    'items': ?items,
    'merchants': ?merchants,
    'paymentMethod': ?paymentMethod,
    'shippingAddress': ?shippingAddress,
    'shippingValue': ?shippingValue,
    'transactionId': ?transactionId,
    'user': ?user,
    'value': ?value,
  };
}