Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PayoutMethodRequest" /> class.
 /// </summary>
 /// <param name="payoutMethod">payoutMethod.</param>
 public PayoutMethodRequest(PayoutMethod payoutMethod = default(PayoutMethod))
 {
     this.PayoutMethod = payoutMethod;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Recipient" /> class.
 /// </summary>
 /// <param name="requestedAmount">the amount that should be paid to the recipient. This can be in any currency, usually either the input or the output currency. If the value here is not the output currency we will calculate how much the recipient is going to get using the exchange rates active when the transaction was created. (required).</param>
 /// <param name="requestedCurrency">the currency of the amount in 3-character alpha ISO 4217 currency format (required).</param>
 /// <param name="payoutMethod">payoutMethod (required).</param>
 /// <param name="metadata">Additional metadata that can be added to a recipient. These values will be returned on request.</param>
 /// <param name="stateReasonDetails">stateReasonDetails.</param>
 /// <param name="state">state.</param>
 /// <param name="transactionExternalId">Optional ID that is supplied by partner linking it to the partner&#39;s own Transaction ID..</param>
 /// <param name="transactionState">transactionState.</param>
 public Recipient(decimal?requestedAmount = default(decimal?), string requestedCurrency = default(string), PayoutMethod payoutMethod = default(PayoutMethod), Object metadata = default(Object), RecipientStateReasonDetails stateReasonDetails = default(RecipientStateReasonDetails), RecipientState state = default(RecipientState), string transactionExternalId = default(string), TransactionState transactionState = default(TransactionState))
 {
     this.RequestedAmount    = requestedAmount;
     this.RequestedCurrency  = requestedCurrency;
     this.PayoutMethod       = payoutMethod;
     this.Metadata           = metadata;
     this.StateReasonDetails = stateReasonDetails;
     this.State = state;
     this.TransactionExternalId = transactionExternalId;
     this.TransactionState      = transactionState;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PayoutMethodResponse" /> class.
 /// </summary>
 /// <param name="_object">_object.</param>
 public PayoutMethodResponse(PayoutMethod _object = default(PayoutMethod))
 {
     this.Object = _object;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PayoutMethodWebhook" /> class.
 /// </summary>
 /// <param name="_object">_object (required).</param>
 public PayoutMethodWebhook(PayoutMethod _object = default(PayoutMethod))
 {
     this.Object = _object;
 }