1717from typing import Any , Dict , List , Optional , Tuple , Union
1818from typing_extensions import Annotated
1919
20- from pydantic import Field , StrictStr
20+ from pydantic import Field , StrictBool , StrictStr
2121from typing import Optional
2222from typing_extensions import Annotated
2323from payjpv2 .models .tax_rate_create_request import TaxRateCreateRequest
@@ -337,6 +337,8 @@ def get_all_tax_rates(
337337 limit : Annotated [Optional [Annotated [int , Field (le = 100 , strict = True , ge = 1 )]], Field (description = "取得するデータの最大件数" )] = None ,
338338 starting_after : Annotated [Optional [StrictStr ], Field (description = "このIDより後のデータを取得" )] = None ,
339339 ending_before : Annotated [Optional [StrictStr ], Field (description = "このIDより前のデータを取得" )] = None ,
340+ active : Annotated [Optional [StrictBool ], Field (description = "この税率が有効であるかどうか。無効にした場合でも、すでに設定されている定期課金などでは使用可能です。" )] = None ,
341+ inclusive : Annotated [Optional [StrictBool ], Field (description = "税込みかどうか。税込 = `true` 税抜 = `false`" )] = None ,
340342 * ,
341343 request_timeout : Union [
342344 None ,
@@ -360,6 +362,10 @@ def get_all_tax_rates(
360362 :type starting_after: str
361363 :param ending_before: このIDより前のデータを取得
362364 :type ending_before: str
365+ :param active: この税率が有効であるかどうか。無効にした場合でも、すでに設定されている定期課金などでは使用可能です。
366+ :type active: bool
367+ :param inclusive: 税込みかどうか。税込 = `true` 税抜 = `false`
368+ :type inclusive: bool
363369 :param request_timeout: timeout setting for this request. If one
364370 number provided, it will be total request
365371 timeout. It can also be a pair (tuple) of
@@ -387,6 +393,8 @@ def get_all_tax_rates(
387393 limit = limit ,
388394 starting_after = starting_after ,
389395 ending_before = ending_before ,
396+ active = active ,
397+ inclusive = inclusive ,
390398 _request_auth = request_auth ,
391399 _content_type = 'application/json' ,
392400 _headers = headers ,
@@ -416,6 +424,8 @@ def get_all_tax_rates_with_http_info(
416424 limit : Annotated [Optional [Annotated [int , Field (le = 100 , strict = True , ge = 1 )]], Field (description = "取得するデータの最大件数" )] = None ,
417425 starting_after : Annotated [Optional [StrictStr ], Field (description = "このIDより後のデータを取得" )] = None ,
418426 ending_before : Annotated [Optional [StrictStr ], Field (description = "このIDより前のデータを取得" )] = None ,
427+ active : Annotated [Optional [StrictBool ], Field (description = "この税率が有効であるかどうか。無効にした場合でも、すでに設定されている定期課金などでは使用可能です。" )] = None ,
428+ inclusive : Annotated [Optional [StrictBool ], Field (description = "税込みかどうか。税込 = `true` 税抜 = `false`" )] = None ,
419429 * ,
420430 request_timeout : Union [
421431 None ,
@@ -439,6 +449,10 @@ def get_all_tax_rates_with_http_info(
439449 :type starting_after: str
440450 :param ending_before: このIDより前のデータを取得
441451 :type ending_before: str
452+ :param active: この税率が有効であるかどうか。無効にした場合でも、すでに設定されている定期課金などでは使用可能です。
453+ :type active: bool
454+ :param inclusive: 税込みかどうか。税込 = `true` 税抜 = `false`
455+ :type inclusive: bool
442456 :param request_timeout: timeout setting for this request. If one
443457 number provided, it will be total request
444458 timeout. It can also be a pair (tuple) of
@@ -466,6 +480,8 @@ def get_all_tax_rates_with_http_info(
466480 limit = limit ,
467481 starting_after = starting_after ,
468482 ending_before = ending_before ,
483+ active = active ,
484+ inclusive = inclusive ,
469485 _request_auth = request_auth ,
470486 _content_type = 'application/json' ,
471487 _headers = headers ,
@@ -495,6 +511,8 @@ def get_all_tax_rates_without_preload_content(
495511 limit : Annotated [Optional [Annotated [int , Field (le = 100 , strict = True , ge = 1 )]], Field (description = "取得するデータの最大件数" )] = None ,
496512 starting_after : Annotated [Optional [StrictStr ], Field (description = "このIDより後のデータを取得" )] = None ,
497513 ending_before : Annotated [Optional [StrictStr ], Field (description = "このIDより前のデータを取得" )] = None ,
514+ active : Annotated [Optional [StrictBool ], Field (description = "この税率が有効であるかどうか。無効にした場合でも、すでに設定されている定期課金などでは使用可能です。" )] = None ,
515+ inclusive : Annotated [Optional [StrictBool ], Field (description = "税込みかどうか。税込 = `true` 税抜 = `false`" )] = None ,
498516 * ,
499517 request_timeout : Union [
500518 None ,
@@ -518,6 +536,10 @@ def get_all_tax_rates_without_preload_content(
518536 :type starting_after: str
519537 :param ending_before: このIDより前のデータを取得
520538 :type ending_before: str
539+ :param active: この税率が有効であるかどうか。無効にした場合でも、すでに設定されている定期課金などでは使用可能です。
540+ :type active: bool
541+ :param inclusive: 税込みかどうか。税込 = `true` 税抜 = `false`
542+ :type inclusive: bool
521543 :param request_timeout: timeout setting for this request. If one
522544 number provided, it will be total request
523545 timeout. It can also be a pair (tuple) of
@@ -545,6 +567,8 @@ def get_all_tax_rates_without_preload_content(
545567 limit = limit ,
546568 starting_after = starting_after ,
547569 ending_before = ending_before ,
570+ active = active ,
571+ inclusive = inclusive ,
548572 _request_auth = request_auth ,
549573 _content_type = 'application/json' ,
550574 _headers = headers ,
@@ -569,6 +593,8 @@ def _get_all_tax_rates_serialize(
569593 limit ,
570594 starting_after ,
571595 ending_before ,
596+ active ,
597+ inclusive ,
572598 _request_auth ,
573599 _content_type ,
574600 _headers ,
@@ -606,6 +632,14 @@ def _get_all_tax_rates_serialize(
606632
607633 _query_params .append (('ending_before' , ending_before ))
608634
635+ if active is not None :
636+
637+ _query_params .append (('active' , active ))
638+
639+ if inclusive is not None :
640+
641+ _query_params .append (('inclusive' , inclusive ))
642+
609643 # process the header parameters
610644 # process the form parameters
611645 # process the body parameter
0 commit comments