FFBraintreeCredentials constructor

FFBraintreeCredentials({
  1. String? merchantId,
  2. String? tokenizationKey,
  3. String? publicKey,
  4. String? privateKey,
  5. String? appleMerchantId,
  6. String? googleMerchantId,
})

Implementation

factory FFBraintreeCredentials({
  $core.String? merchantId,
  $core.String? tokenizationKey,
  $core.String? publicKey,
  $core.String? privateKey,
  $core.String? appleMerchantId,
  $core.String? googleMerchantId,
}) {
  final result = create();
  if (merchantId != null) result.merchantId = merchantId;
  if (tokenizationKey != null) result.tokenizationKey = tokenizationKey;
  if (publicKey != null) result.publicKey = publicKey;
  if (privateKey != null) result.privateKey = privateKey;
  if (appleMerchantId != null) result.appleMerchantId = appleMerchantId;
  if (googleMerchantId != null) result.googleMerchantId = googleMerchantId;
  return result;
}