@@ -66,17 +66,17 @@ public virtual Source Get(string sourceId, SourceGetOptions options = null, Requ
66
66
67
67
public virtual StripeList < Source > List ( string customerId , SourceListOptions options = null , RequestOptions requestOptions = null )
68
68
{
69
- return this . Request < StripeList < Source > > ( HttpMethod . Get , $ "/v1/customers/{ customerId } /sources", options , requestOptions ) ;
69
+ return this . Request < StripeList < Source > > ( HttpMethod . Get , $ "/v1/customers/{ customerId } /sources", options ?? new SourceListOptions ( ) , requestOptions ) ;
70
70
}
71
71
72
72
public virtual Task < StripeList < Source > > ListAsync ( string customerId , SourceListOptions options = null , RequestOptions requestOptions = null , CancellationToken cancellationToken = default ( CancellationToken ) )
73
73
{
74
- return this . RequestAsync < StripeList < Source > > ( HttpMethod . Get , $ "/v1/customers/{ customerId } /sources", options , requestOptions , cancellationToken ) ;
74
+ return this . RequestAsync < StripeList < Source > > ( HttpMethod . Get , $ "/v1/customers/{ customerId } /sources", options ?? new SourceListOptions ( ) , requestOptions , cancellationToken ) ;
75
75
}
76
76
77
77
public virtual IEnumerable < Source > ListAutoPaging ( string customerId , SourceListOptions options = null , RequestOptions requestOptions = null )
78
78
{
79
- return this . ListRequestAutoPaging < Source > ( $ "/v1/customers/{ customerId } /sources", options , requestOptions ) ;
79
+ return this . ListRequestAutoPaging < Source > ( $ "/v1/customers/{ customerId } /sources", options ?? new SourceListOptions ( ) , requestOptions ) ;
80
80
}
81
81
82
82
public virtual Source Update ( string sourceId , SourceUpdateOptions options , RequestOptions requestOptions = null )
0 commit comments