LiasettingsCustomBatchRequestEntry.fromJson constructor

LiasettingsCustomBatchRequestEntry.fromJson(
  1. Map json_
)

Implementation

LiasettingsCustomBatchRequestEntry.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        batchId: json_.containsKey('batchId')
            ? json_['batchId'] as core.int
            : null,
        contactEmail: json_.containsKey('contactEmail')
            ? json_['contactEmail'] as core.String
            : null,
        contactName: json_.containsKey('contactName')
            ? json_['contactName'] as core.String
            : null,
        country: json_.containsKey('country')
            ? json_['country'] as core.String
            : null,
        gmbEmail: json_.containsKey('gmbEmail')
            ? json_['gmbEmail'] as core.String
            : null,
        liaSettings: json_.containsKey('liaSettings')
            ? LiaSettings.fromJson(
                json_['liaSettings'] as core.Map<core.String, core.dynamic>)
            : null,
        merchantId: json_.containsKey('merchantId')
            ? json_['merchantId'] as core.String
            : null,
        method: json_.containsKey('method')
            ? json_['method'] as core.String
            : null,
        omnichannelExperience: json_.containsKey('omnichannelExperience')
            ? LiaOmnichannelExperience.fromJson(json_['omnichannelExperience']
                as core.Map<core.String, core.dynamic>)
            : null,
        posDataProviderId: json_.containsKey('posDataProviderId')
            ? json_['posDataProviderId'] as core.String
            : null,
        posExternalAccountId: json_.containsKey('posExternalAccountId')
            ? json_['posExternalAccountId'] as core.String
            : null,
      );