public TMessageValidatorProtocol(TProtocol protocol, ValidationModeEnum validation_mode, OperationModeEnum operation_mode) : base(protocol) { ValidationMode = validation_mode; OperationMode = operation_mode; var rand = new Random(); _random_seq_id = rand.Next(); }
/// <summary> /// Initializes a new instance of the <see cref="ValidationModeOverride" /> class. /// </summary> /// <param name="captureDelay">The delay capture overriden.</param> /// <param name="validationMode">The validation mode (required).</param> public ValidationModeOverride(int?captureDelay = default(int?), ValidationModeEnum validationMode = default(ValidationModeEnum)) { // to ensure "validationMode" is required (not null) if (validationMode == null) { throw new InvalidDataException("validationMode is a required property for ValidationModeOverride and cannot be null"); } else { this.ValidationMode = validationMode; } this.CaptureDelay = captureDelay; }
/// <remarks/> public void ValidateCustomerPaymentProfileAsync(MerchantAuthenticationType merchantAuthentication, long customerProfileId, long customerPaymentProfileId, long customerShippingAddressId, string cardCode, ValidationModeEnum validationMode, object userState) { if ((this.ValidateCustomerPaymentProfileOperationCompleted == null)) { this.ValidateCustomerPaymentProfileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnValidateCustomerPaymentProfileOperationCompleted); } this.InvokeAsync("ValidateCustomerPaymentProfile", new object[] { merchantAuthentication, customerProfileId, customerPaymentProfileId, customerShippingAddressId, cardCode, validationMode}, this.ValidateCustomerPaymentProfileOperationCompleted, userState); }
/// <remarks/> public void ValidateCustomerPaymentProfileAsync(MerchantAuthenticationType merchantAuthentication, long customerProfileId, long customerPaymentProfileId, long customerShippingAddressId, string cardCode, ValidationModeEnum validationMode) { this.ValidateCustomerPaymentProfileAsync(merchantAuthentication, customerProfileId, customerPaymentProfileId, customerShippingAddressId, cardCode, validationMode, null); }
public ValidateCustomerPaymentProfileResponseType ValidateCustomerPaymentProfile(MerchantAuthenticationType merchantAuthentication, long customerProfileId, long customerPaymentProfileId, long customerShippingAddressId, string cardCode, ValidationModeEnum validationMode) { object[] results = this.Invoke("ValidateCustomerPaymentProfile", new object[] { merchantAuthentication, customerProfileId, customerPaymentProfileId, customerShippingAddressId, cardCode, validationMode}); return ((ValidateCustomerPaymentProfileResponseType)(results[0])); }
/// <remarks/> public void UpdateCustomerPaymentProfileAsync(MerchantAuthenticationType merchantAuthentication, long customerProfileId, CustomerPaymentProfileExType paymentProfile, ValidationModeEnum validationMode, object userState) { if ((this.UpdateCustomerPaymentProfileOperationCompleted == null)) { this.UpdateCustomerPaymentProfileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateCustomerPaymentProfileOperationCompleted); } this.InvokeAsync("UpdateCustomerPaymentProfile", new object[] { merchantAuthentication, customerProfileId, paymentProfile, validationMode}, this.UpdateCustomerPaymentProfileOperationCompleted, userState); }
/// <remarks/> public void UpdateCustomerPaymentProfileAsync(MerchantAuthenticationType merchantAuthentication, long customerProfileId, CustomerPaymentProfileExType paymentProfile, ValidationModeEnum validationMode) { this.UpdateCustomerPaymentProfileAsync(merchantAuthentication, customerProfileId, paymentProfile, validationMode, null); }
public UpdateCustomerPaymentProfileResponseType UpdateCustomerPaymentProfile(MerchantAuthenticationType merchantAuthentication, long customerProfileId, CustomerPaymentProfileExType paymentProfile, ValidationModeEnum validationMode) { object[] results = this.Invoke("UpdateCustomerPaymentProfile", new object[] { merchantAuthentication, customerProfileId, paymentProfile, validationMode}); return ((UpdateCustomerPaymentProfileResponseType)(results[0])); }
/// <remarks/> public void CreateCustomerProfileAsync(MerchantAuthenticationType merchantAuthentication, CustomerProfileType profile, ValidationModeEnum validationMode, object userState) { if ((this.CreateCustomerProfileOperationCompleted == null)) { this.CreateCustomerProfileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateCustomerProfileOperationCompleted); } this.InvokeAsync("CreateCustomerProfile", new object[] { merchantAuthentication, profile, validationMode}, this.CreateCustomerProfileOperationCompleted, userState); }
/// <remarks/> public void CreateCustomerProfileAsync(MerchantAuthenticationType merchantAuthentication, CustomerProfileType profile, ValidationModeEnum validationMode) { this.CreateCustomerProfileAsync(merchantAuthentication, profile, validationMode, null); }
public CreateCustomerProfileResponseType CreateCustomerProfile(MerchantAuthenticationType merchantAuthentication, CustomerProfileType profile, ValidationModeEnum validationMode) { object[] results = this.Invoke("CreateCustomerProfile", new object[] { merchantAuthentication, profile, validationMode}); return ((CreateCustomerProfileResponseType)(results[0])); }