Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MasterpassWalletPaymentMethod" /> class.
 /// </summary>
 /// <param name="walletId">Masterpass Wallet ID. (required).</param>
 /// <param name="paymentCard">paymentCard (required).</param>
 /// <param name="walletType">Type of wallet. (required) (default to &quot;MasterpassWalletPaymentMethod&quot;).</param>
 public MasterpassWalletPaymentMethod(string walletId = default(string), PaymentCard paymentCard = default(PaymentCard), string walletType = "MasterpassWalletPaymentMethod") : base(walletType)
 {
     // to ensure "walletId" is required (not null)
     this.WalletId = walletId ?? throw new ArgumentNullException("walletId is a required property for MasterpassWalletPaymentMethod and cannot be null");
     // to ensure "paymentCard" is required (not null)
     this.PaymentCard = paymentCard ?? throw new ArgumentNullException("paymentCard is a required property for MasterpassWalletPaymentMethod and cannot be null");
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CardVerificationRequest" /> class.
 /// </summary>
 /// <param name="paymentCard">paymentCard (required).</param>
 /// <param name="billingAddress">billingAddress.</param>
 /// <param name="storeId">An optional outlet ID for clients that support multiple stores in the same app..</param>
 public CardVerificationRequest(PaymentCard paymentCard = default(PaymentCard), Address billingAddress = default(Address), string storeId = default(string))
 {
     // to ensure "paymentCard" is required (not null)
     this.PaymentCard    = paymentCard ?? throw new ArgumentNullException("paymentCard is a required property for CardVerificationRequest and cannot be null");
     this.BillingAddress = billingAddress;
     this.StoreId        = storeId;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentCardInfoLookupRequestAllOf" /> class.
 /// </summary>
 /// <param name="paymentCard">paymentCard (required).</param>
 public PaymentCardInfoLookupRequestAllOf(PaymentCard paymentCard = default(PaymentCard))
 {
     // to ensure "paymentCard" is required (not null)
     this.PaymentCard = paymentCard ?? throw new ArgumentNullException("paymentCard is a required property for PaymentCardInfoLookupRequestAllOf and cannot be null");
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentCardPaymentMethod" /> class.
 /// </summary>
 /// <param name="paymentCard">paymentCard (required).</param>
 /// <param name="paymentFacilitator">paymentFacilitator.</param>
 public PaymentCardPaymentMethod(PaymentCard paymentCard = default(PaymentCard), PaymentFacilitator paymentFacilitator = default(PaymentFacilitator))
 {
     // to ensure "paymentCard" is required (not null)
     this.PaymentCard        = paymentCard ?? throw new ArgumentNullException("paymentCard is a required property for PaymentCardPaymentMethod and cannot be null");
     this.PaymentFacilitator = paymentFacilitator;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentCardInfoLookupRequest" /> class.
 /// </summary>
 /// <param name="paymentCard">paymentCard (required).</param>
 /// <param name="requestType">Object name of the account verification request. (required).</param>
 /// <param name="storeId">An optional outlet ID for clients that support multiple stores in the same app..</param>
 public PaymentCardInfoLookupRequest(PaymentCard paymentCard = default(PaymentCard), string requestType = default(string), string storeId = default(string)) : base(requestType, storeId)
 {
     // to ensure "paymentCard" is required (not null)
     this.PaymentCard = paymentCard ?? throw new ArgumentNullException("paymentCard is a required property for PaymentCardInfoLookupRequest and cannot be null");
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UpdatePaymentToken" /> class.
 /// </summary>
 /// <param name="value">Client-supplied payment token value. (required).</param>
 /// <param name="reusable">If the token is reusable. (default to true).</param>
 /// <param name="declineDuplicates">Decline duplicate payment info if client token is supplied. (default to false).</param>
 /// <param name="paymentCard">paymentCard (required).</param>
 public UpdatePaymentToken(string value = default(string), bool reusable = true, bool declineDuplicates = false, PaymentCard paymentCard = default(PaymentCard))
 {
     // to ensure "value" is required (not null)
     this.Value = value ?? throw new ArgumentNullException("value is a required property for UpdatePaymentToken and cannot be null");
     // to ensure "paymentCard" is required (not null)
     this.PaymentCard       = paymentCard ?? throw new ArgumentNullException("paymentCard is a required property for UpdatePaymentToken and cannot be null");
     this.Reusable          = reusable;
     this.DeclineDuplicates = declineDuplicates;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentMethodDetails" /> class.
 /// </summary>
 /// <param name="paymentCard">paymentCard.</param>
 /// <param name="paymentMethodType">paymentMethodType.</param>
 public PaymentMethodDetails(PaymentCard paymentCard = default(PaymentCard), PaymentMethodType?paymentMethodType = default(PaymentMethodType?))
 {
     this.PaymentCard       = paymentCard;
     this.PaymentMethodType = paymentMethodType;
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentCardVerificationRequest" /> class.
 /// </summary>
 /// <param name="paymentCard">paymentCard (required).</param>
 /// <param name="requestType">Object name of the account verification request. (required).</param>
 /// <param name="billingAddress">billingAddress.</param>
 /// <param name="storeId">An optional outlet ID for clients that support multiple stores in the same app..</param>
 /// <param name="merchantTransactionId">The unique merchant transaction ID from the request, if supplied..</param>
 /// <param name="additionalDetails">additionalDetails.</param>
 public PaymentCardVerificationRequest(PaymentCard paymentCard = default(PaymentCard), string requestType = default(string), Address billingAddress = default(Address), string storeId = default(string), string merchantTransactionId = default(string), AdditionalDetails additionalDetails = default(AdditionalDetails)) : base(requestType, billingAddress, storeId, merchantTransactionId, additionalDetails)
 {
     // to ensure "paymentCard" is required (not null)
     this.PaymentCard = paymentCard ?? throw new ArgumentNullException("paymentCard is a required property for PaymentCardVerificationRequest and cannot be null");
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentTokenizationResponse" /> class.
 /// </summary>
 /// <param name="clientRequestId">Echoes back the value in the request header for tracking..</param>
 /// <param name="apiTraceId">Request identifier in API, can be used to request logs from the support team..</param>
 /// <param name="responseType">responseType.</param>
 /// <param name="requestStatus">The status of the request..</param>
 /// <param name="requestTime">Time of the request..</param>
 /// <param name="brand">Card brand..</param>
 /// <param name="country">Country of the card issued..</param>
 /// <param name="paymentToken">paymentToken.</param>
 /// <param name="paymentCard">paymentCard.</param>
 /// <param name="processor">processor.</param>
 /// <param name="orderId">Note - Client Order ID if supplied by client. If not supplied by client, IPG will generate. The first 12 alphanumeric digits are passed down to Fiserv Enterprise reporting tool, Clientline and Data File Manager (DFM)..</param>
 /// <param name="ipgTransactionId">The response transaction ID..</param>
 /// <param name="merchantTransactionId">The unique merchant transaction ID from the request header, if supplied..</param>
 /// <param name="additionalResponseData">additionalResponseData.</param>
 public PaymentTokenizationResponse(string clientRequestId = default(string), string apiTraceId = default(string), ResponseType?responseType = default(ResponseType?), RequestStatusEnum?requestStatus = default(RequestStatusEnum?), long requestTime = default(long), string brand = default(string), string country = default(string), PaymentTokenDetails paymentToken = default(PaymentTokenDetails), PaymentCard paymentCard = default(PaymentCard), ProcessorData processor = default(ProcessorData), string orderId = default(string), string ipgTransactionId = default(string), string merchantTransactionId = default(string), AdditionalResponseData additionalResponseData = default(AdditionalResponseData))
 {
     this.ClientRequestId        = clientRequestId;
     this.ApiTraceId             = apiTraceId;
     this.ResponseType           = responseType;
     this.RequestStatus          = requestStatus;
     this.RequestTime            = requestTime;
     this.Brand                  = brand;
     this.Country                = country;
     this.PaymentToken           = paymentToken;
     this.PaymentCard            = paymentCard;
     this.Processor              = processor;
     this.OrderId                = orderId;
     this.IpgTransactionId       = ipgTransactionId;
     this.MerchantTransactionId  = merchantTransactionId;
     this.AdditionalResponseData = additionalResponseData;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentTokenizationResponseAllOf" /> class.
 /// </summary>
 /// <param name="requestStatus">The status of the request..</param>
 /// <param name="requestTime">Time of the request..</param>
 /// <param name="brand">Card brand..</param>
 /// <param name="country">Country of the card issued..</param>
 /// <param name="paymentToken">paymentToken.</param>
 /// <param name="paymentCard">paymentCard.</param>
 /// <param name="processor">processor.</param>
 /// <param name="orderId">Client order ID if supplied by client, otherwise the order ID..</param>
 /// <param name="ipgTransactionId">The response transaction ID..</param>
 /// <param name="merchantTransactionId">The unique merchant transaction ID from the request header, if supplied..</param>
 public PaymentTokenizationResponseAllOf(RequestStatusEnum?requestStatus = null, long requestTime = default(long), string brand = default(string), string country = default(string), PaymentTokenDetails paymentToken = default(PaymentTokenDetails), PaymentCard paymentCard = default(PaymentCard), ProcessorData processor = default(ProcessorData), string orderId = default(string), string ipgTransactionId = default(string), string merchantTransactionId = default(string))
 {
     this.RequestStatus         = requestStatus;
     this.RequestTime           = requestTime;
     this.Brand                 = brand;
     this.Country               = country;
     this.PaymentToken          = paymentToken;
     this.PaymentCard           = paymentCard;
     this.Processor             = processor;
     this.OrderId               = orderId;
     this.IpgTransactionId      = ipgTransactionId;
     this.MerchantTransactionId = merchantTransactionId;
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CardInfoLookupRequest" /> class.
 /// </summary>
 /// <param name="storeId">An optional outlet id for clients that support multiple stores in the same developer app..</param>
 /// <param name="paymentCard">paymentCard (required).</param>
 public CardInfoLookupRequest(string storeId = default(string), PaymentCard paymentCard = default(PaymentCard))
 {
     // to ensure "paymentCard" is required (not null)
     this.PaymentCard = paymentCard ?? throw new ArgumentNullException("paymentCard is a required property for CardInfoLookupRequest and cannot be null");
     this.StoreId     = storeId;
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentCardPaymentTokenizationRequest" /> class.
 /// </summary>
 /// <param name="paymentCard">paymentCard (required).</param>
 /// <param name="requestType">Object name of tokenization request. (required) (default to &quot;PaymentCardPaymentTokenizationRequest&quot;).</param>
 /// <param name="storeId">An optional outlet ID for clients that support multiple stores in the same app..</param>
 /// <param name="billingAddress">billingAddress.</param>
 /// <param name="createToken">createToken (required).</param>
 /// <param name="accountVerification">If the account should be verified prior to token creation. (default to false).</param>
 /// <param name="merchantTransactionId">The unique merchant transaction ID from the request, if supplied..</param>
 /// <param name="additionalDetails">additionalDetails.</param>
 public PaymentCardPaymentTokenizationRequest(PaymentCard paymentCard = default(PaymentCard), string requestType = "PaymentCardPaymentTokenizationRequest", string storeId = default(string), Address billingAddress = default(Address), CreatePaymentToken createToken = default(CreatePaymentToken), bool accountVerification = false, string merchantTransactionId = default(string), AdditionalDetails additionalDetails = default(AdditionalDetails)) : base(requestType, storeId, billingAddress, createToken, accountVerification, merchantTransactionId, additionalDetails)
 {
     // to ensure "paymentCard" is required (not null)
     this.PaymentCard = paymentCard ?? throw new ArgumentNullException("paymentCard is a required property for PaymentCardPaymentTokenizationRequest and cannot be null");
 }