/// <summary> /// Initializes a new instance of the <see cref="StaticValueService"/> class /// using Configuration object /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> public StaticValueService(TrustPayments.Client.Configuration configuration = null) { if(configuration == null){ throw new ArgumentException("Parameter cannot be null", "configuration"); } this.Configuration = configuration; ExceptionFactory = TrustPayments.Client.Configuration.DefaultExceptionFactory; }
/// <summary> /// Initializes a new instance of the <see cref="SubscriptionProductVersionRetirementService"/> class /// using Configuration object /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> public SubscriptionProductVersionRetirementService(TrustPayments.Client.Configuration configuration = null) { if (configuration == null) { throw new ArgumentException("Parameter cannot be null", "configuration"); } this.Configuration = configuration; ExceptionFactory = TrustPayments.Client.Configuration.DefaultExceptionFactory; }
/// <summary> /// Initializes a new instance of the <see cref="TransactionLineItemVersionService"/> class /// using Configuration object /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> public TransactionLineItemVersionService(TrustPayments.Client.Configuration configuration = null) { if (configuration == null) { throw new ArgumentException("Parameter cannot be null", "configuration"); } this.Configuration = configuration; ExceptionFactory = TrustPayments.Client.Configuration.DefaultExceptionFactory; }