Exemplo n.º 1
0
 public Payment(string id                = null,
                string createdAt         = null,
                string updatedAt         = null,
                Models.Money amountMoney = null,
                Models.Money tipMoney    = null,
                Models.Money totalMoney  = null,
                Models.Money appFeeMoney = null,
                IList <Models.ProcessingFee> processingFee = null,
                Models.Money refundedMoney = null,
                string status        = null,
                string delayDuration = null,
                string delayAction   = null,
                string delayedUntil  = null,
                string sourceType    = null,
                Models.CardPaymentDetails cardDetails = null,
                string locationId                    = null,
                string orderId                       = null,
                string referenceId                   = null,
                string customerId                    = null,
                string employeeId                    = null,
                IList <string> refundIds             = null,
                Models.RiskEvaluation riskEvaluation = null,
                string buyerEmailAddress             = null,
                Models.Address billingAddress        = null,
                Models.Address shippingAddress       = null,
                string note = null,
                string statementDescriptionIdentifier = null,
                string receiptNumber = null,
                string receiptUrl    = null)
 {
     Id                = id;
     CreatedAt         = createdAt;
     UpdatedAt         = updatedAt;
     AmountMoney       = amountMoney;
     TipMoney          = tipMoney;
     TotalMoney        = totalMoney;
     AppFeeMoney       = appFeeMoney;
     ProcessingFee     = processingFee;
     RefundedMoney     = refundedMoney;
     Status            = status;
     DelayDuration     = delayDuration;
     DelayAction       = delayAction;
     DelayedUntil      = delayedUntil;
     SourceType        = sourceType;
     CardDetails       = cardDetails;
     LocationId        = locationId;
     OrderId           = orderId;
     ReferenceId       = referenceId;
     CustomerId        = customerId;
     EmployeeId        = employeeId;
     RefundIds         = refundIds;
     RiskEvaluation    = riskEvaluation;
     BuyerEmailAddress = buyerEmailAddress;
     BillingAddress    = billingAddress;
     ShippingAddress   = shippingAddress;
     Note              = note;
     StatementDescriptionIdentifier = statementDescriptionIdentifier;
     ReceiptNumber = receiptNumber;
     ReceiptUrl    = receiptUrl;
 }
Exemplo n.º 2
0
 public Builder RiskEvaluation(Models.RiskEvaluation riskEvaluation)
 {
     this.riskEvaluation = riskEvaluation;
     return(this);
 }