class Stripe::CountrySpecsApi
- Stripe::CountrySpecsApi
- Reference
- Object
Defined in:
stripe/api/country_specs_api.crConstant Summary
-
GET_COUNTRY_SPECS_COUNTRY_MAX_LENGTH_FOR_COUNTRY =
5000
-
GET_COUNTRY_SPECS_MAX_LENGTH_FOR_ENDING_BEFORE =
5000
-
GET_COUNTRY_SPECS_MAX_LENGTH_FOR_STARTING_AFTER =
5000
Constructors
Instance Method Summary
- #api_client : ApiClient
- #api_client=(api_client : ApiClient)
-
#build_api_request_for_get_country_specs(*, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_get_country_specs_country(*, country : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Crest::Request
@return Crest::Request
- #client_side_validation?(*args, **options)
- #client_side_validation?(*args, **options, &)
- #debugging?(*args, **options)
- #debugging?(*args, **options, &)
-
#get_country_specs(*, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::CountrySpecList
Lists all Country Spec objects available in the API.
@optional @param ending_before [String?] A cursor for use in pagination. -
#get_country_specs(*, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil
<p>Lists all Country Spec objects available in the API.</p> @optional @param ending_before [String?] A cursor for use in pagination.
-
#get_country_specs_country(*, country : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Stripe::CountrySpec
Returns a Country Spec for a given Country code.
@required @param country [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. -
#get_country_specs_country(*, country : String | Nil = nil, expand : Array(Array(String)) | Nil = nil, &block : Crest::Response -> ) : Nil
<p>Returns a Country Spec for a given Country code.</p> @required @param country [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
-
#get_country_specs_country_with_http_info(*, country : String | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::CountrySpec, Int32, Hash(String, Array(String) | String))
<p>Returns a Country Spec for a given Country code.</p> @required @param country [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
-
#get_country_specs_with_http_info(*, ending_before : String | Nil = nil, starting_after : String | Nil = nil, limit : Int64 | Nil = nil, expand : Array(Array(String)) | Nil = nil) : Tuple(Stripe::CountrySpecList, Int32, Hash(String, Array(String) | String))
<p>Lists all Country Spec objects available in the API.</p> @optional @param ending_before [String?] A cursor for use in pagination.
Constructor Detail
Instance Method Detail
@return Crest::Request
@return Crest::Request
Lists all Country Spec objects available in the API.
@optional @param ending_before [String?] A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::CountrySpecList]<p>Lists all Country Spec objects available in the API.</p>
@optional @param ending_before [String?] A cursor for use in pagination. ending_before
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar
, your subsequent call can include ending_before=obj_bar
in order to fetch the previous page of the list.
@optional @param starting_after [String?] A cursor for use in pagination. starting_after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo
, your subsequent call can include starting_after=obj_foo
in order to fetch the next page of the list.
@optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
@optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
@return nil
Returns a Country Spec for a given Country code.
@required @param country [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::CountrySpec]<p>Returns a Country Spec for a given Country code.</p> @required @param country [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil
<p>Returns a Country Spec for a given Country code.</p> @required @param country [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::CountrySpec, Integer, Hash)] Stripe::CountrySpec, response status code and response headers
<p>Lists all Country Spec objects available in the API.</p>
@optional @param ending_before [String?] A cursor for use in pagination. ending_before
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar
, your subsequent call can include ending_before=obj_bar
in order to fetch the previous page of the list.
@optional @param starting_after [String?] A cursor for use in pagination. starting_after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo
, your subsequent call can include starting_after=obj_foo
in order to fetch the next page of the list.
@optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
@optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
@return [Tuple(Stripe::CountrySpecList, Integer, Hash)] Stripe::CountrySpecList, response status code and response headers