public CardPreAuthorizationPostDTO(string authorId, Money debitedFunds, SecureMode secureMode, string cardId, string secureModeReturnURL) { AuthorId = authorId; DebitedFunds = debitedFunds; SecureMode = secureMode; CardId = cardId; SecureModeReturnURL = secureModeReturnURL; }
public CardPreAuthorizationPostDTO(string authorId, Money debitedFunds, SecureMode secureMode, string cardId, string secureModeReturnURL, string statementDescriptor = null) { AuthorId = authorId; DebitedFunds = debitedFunds; SecureMode = secureMode; CardId = cardId; SecureModeReturnURL = secureModeReturnURL; StatementDescriptor = statementDescriptor; }
/// <summary> /// /// </summary> /// <param name="elvin"></param> /// <param name="subscriptionExpr"></param> /// <param name="secureMode"></param> /// <param name="keys"></param> /// <exception cref="ArgumentException">subscriptionExpr is null or empty</exception> public Subscription(Elvin elvin, String subscriptionExpr, SecureMode secureMode, Keys keys) { if (keys == null) throw new ArgumentNullException("keys"); if (secureMode == null) throw new ArgumentNullException("secureMode"); this.Elvin = elvin; this.SubscriptionExpr = checkSubscription(subscriptionExpr); this.SecureMode = secureMode; this.Keys = keys; }