public TaxIdServiceTest(MockHttpClientFixture mockHttpClientFixture)
            : base(mockHttpClientFixture)
        {
            this.service = new TaxIdService();

            this.createOptions = new TaxIdCreateOptions
            {
                Type  = "eu_vat",
                Value = "11111",
            };

            this.listOptions = new TaxIdListOptions
            {
                Limit = 1,
            };
        }
Пример #2
0
 public virtual IEnumerable <TaxId> ListAutoPaging(string customerId, TaxIdListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListNestedEntitiesAutoPaging(customerId, options, requestOptions));
 }
Пример #3
0
 public virtual Task <StripeList <TaxId> > ListAsync(string customerId, TaxIdListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(this.ListNestedEntitiesAsync(customerId, options, requestOptions, cancellationToken));
 }
Пример #4
0
 public virtual StripeList <TaxId> List(string customerId, TaxIdListOptions options = null, RequestOptions requestOptions = null)
 {
     return(this.ListNestedEntities(customerId, options, requestOptions));
 }
Пример #5
0
 public virtual IAsyncEnumerable <TaxId> ListAutoPagingAsync(string customerId, TaxIdListOptions options = null, RequestOptions requestOptions = null, CancellationToken cancellationToken = default)
 {
     return(this.ListNestedEntitiesAutoPagingAsync(customerId, options, requestOptions, cancellationToken));
 }