Skip to content

Commit 7b9d1c9

Browse files
author
BitsAdmin
committed
Merge branch 'billing-Python-2022-01-01-online-870-2024_12_23_11_54_40' into 'integration_2024-12-26_654549934850'
feat: [development task] billing-870-Python (938973) See merge request iaasng/volcengine-python-sdk!468
2 parents 80891fa + 98a3213 commit 7b9d1c9

File tree

4 files changed

+264
-4
lines changed

4 files changed

+264
-4
lines changed

volcenginesdkbilling/models/list_for_list_amortized_cost_bill_daily_output.py

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class ListForListAmortizedCostBillDailyOutput(object):
5757
'daily_amortized_payable_amount': 'str',
5858
'daily_amortized_preferential_bill_amount': 'str',
5959
'daily_amortized_round_amount': 'str',
60+
'deduction_use_duration': 'str',
6061
'discount_bill_amount': 'str',
6162
'element': 'str',
6263
'element_code': 'str',
@@ -95,6 +96,8 @@ class ListForListAmortizedCostBillDailyOutput(object):
9596
'seller_customer_name': 'str',
9697
'seller_id': 'str',
9798
'seller_user_name': 'str',
99+
'split_item_id': 'str',
100+
'split_item_name': 'str',
98101
'subject_name': 'str',
99102
'tag': 'str',
100103
'unit': 'str',
@@ -129,6 +132,7 @@ class ListForListAmortizedCostBillDailyOutput(object):
129132
'daily_amortized_payable_amount': 'DailyAmortizedPayableAmount',
130133
'daily_amortized_preferential_bill_amount': 'DailyAmortizedPreferentialBillAmount',
131134
'daily_amortized_round_amount': 'DailyAmortizedRoundAmount',
135+
'deduction_use_duration': 'DeductionUseDuration',
132136
'discount_bill_amount': 'DiscountBillAmount',
133137
'element': 'Element',
134138
'element_code': 'ElementCode',
@@ -167,6 +171,8 @@ class ListForListAmortizedCostBillDailyOutput(object):
167171
'seller_customer_name': 'SellerCustomerName',
168172
'seller_id': 'SellerID',
169173
'seller_user_name': 'SellerUserName',
174+
'split_item_id': 'SplitItemID',
175+
'split_item_name': 'SplitItemName',
170176
'subject_name': 'SubjectName',
171177
'tag': 'Tag',
172178
'unit': 'Unit',
@@ -176,7 +182,7 @@ class ListForListAmortizedCostBillDailyOutput(object):
176182
'zone_code': 'ZoneCode'
177183
}
178184

179-
def __init__(self, amortized_begin_time=None, amortized_day=None, amortized_end_time=None, amortized_month=None, amortized_type=None, bill_category=None, bill_id=None, bill_period=None, billing_method_code=None, billing_mode=None, busi_period=None, business_mode=None, config_name=None, configuration_code=None, count=None, coupon_amount=None, currency=None, daily_amortized_coupon_amount=None, daily_amortized_discount_bill_amount=None, daily_amortized_original_bill_amount=None, daily_amortized_paid_amount=None, daily_amortized_payable_amount=None, daily_amortized_preferential_bill_amount=None, daily_amortized_round_amount=None, discount_bill_amount=None, element=None, element_code=None, expand_field=None, expense_time=None, factor=None, factor_code=None, instance_name=None, instance_no=None, now_amortized_coupon_amount=None, now_amortized_discount_bill_amount=None, now_amortized_original_bill_amount=None, now_amortized_paid_amount=None, now_amortized_payable_amount=None, now_amortized_preferential_bill_amount=None, now_amortized_round_amount=None, original_bill_amount=None, owner_customer_name=None, owner_id=None, owner_user_name=None, paid_amount=None, payable_amount=None, payer_customer_name=None, payer_id=None, payer_user_name=None, preferential_bill_amount=None, price=None, price_unit=None, product=None, product_zh=None, project=None, project_display_name=None, region=None, region_code=None, round_amount=None, seller_customer_name=None, seller_id=None, seller_user_name=None, subject_name=None, tag=None, unit=None, use_duration=None, use_duration_unit=None, zone=None, zone_code=None, _configuration=None): # noqa: E501
185+
def __init__(self, amortized_begin_time=None, amortized_day=None, amortized_end_time=None, amortized_month=None, amortized_type=None, bill_category=None, bill_id=None, bill_period=None, billing_method_code=None, billing_mode=None, busi_period=None, business_mode=None, config_name=None, configuration_code=None, count=None, coupon_amount=None, currency=None, daily_amortized_coupon_amount=None, daily_amortized_discount_bill_amount=None, daily_amortized_original_bill_amount=None, daily_amortized_paid_amount=None, daily_amortized_payable_amount=None, daily_amortized_preferential_bill_amount=None, daily_amortized_round_amount=None, deduction_use_duration=None, discount_bill_amount=None, element=None, element_code=None, expand_field=None, expense_time=None, factor=None, factor_code=None, instance_name=None, instance_no=None, now_amortized_coupon_amount=None, now_amortized_discount_bill_amount=None, now_amortized_original_bill_amount=None, now_amortized_paid_amount=None, now_amortized_payable_amount=None, now_amortized_preferential_bill_amount=None, now_amortized_round_amount=None, original_bill_amount=None, owner_customer_name=None, owner_id=None, owner_user_name=None, paid_amount=None, payable_amount=None, payer_customer_name=None, payer_id=None, payer_user_name=None, preferential_bill_amount=None, price=None, price_unit=None, product=None, product_zh=None, project=None, project_display_name=None, region=None, region_code=None, round_amount=None, seller_customer_name=None, seller_id=None, seller_user_name=None, split_item_id=None, split_item_name=None, subject_name=None, tag=None, unit=None, use_duration=None, use_duration_unit=None, zone=None, zone_code=None, _configuration=None): # noqa: E501
180186
"""ListForListAmortizedCostBillDailyOutput - a model defined in Swagger""" # noqa: E501
181187
if _configuration is None:
182188
_configuration = Configuration()
@@ -206,6 +212,7 @@ def __init__(self, amortized_begin_time=None, amortized_day=None, amortized_end_
206212
self._daily_amortized_payable_amount = None
207213
self._daily_amortized_preferential_bill_amount = None
208214
self._daily_amortized_round_amount = None
215+
self._deduction_use_duration = None
209216
self._discount_bill_amount = None
210217
self._element = None
211218
self._element_code = None
@@ -244,6 +251,8 @@ def __init__(self, amortized_begin_time=None, amortized_day=None, amortized_end_
244251
self._seller_customer_name = None
245252
self._seller_id = None
246253
self._seller_user_name = None
254+
self._split_item_id = None
255+
self._split_item_name = None
247256
self._subject_name = None
248257
self._tag = None
249258
self._unit = None
@@ -301,6 +310,8 @@ def __init__(self, amortized_begin_time=None, amortized_day=None, amortized_end_
301310
self.daily_amortized_preferential_bill_amount = daily_amortized_preferential_bill_amount
302311
if daily_amortized_round_amount is not None:
303312
self.daily_amortized_round_amount = daily_amortized_round_amount
313+
if deduction_use_duration is not None:
314+
self.deduction_use_duration = deduction_use_duration
304315
if discount_bill_amount is not None:
305316
self.discount_bill_amount = discount_bill_amount
306317
if element is not None:
@@ -377,6 +388,10 @@ def __init__(self, amortized_begin_time=None, amortized_day=None, amortized_end_
377388
self.seller_id = seller_id
378389
if seller_user_name is not None:
379390
self.seller_user_name = seller_user_name
391+
if split_item_id is not None:
392+
self.split_item_id = split_item_id
393+
if split_item_name is not None:
394+
self.split_item_name = split_item_name
380395
if subject_name is not None:
381396
self.subject_name = subject_name
382397
if tag is not None:
@@ -896,6 +911,27 @@ def daily_amortized_round_amount(self, daily_amortized_round_amount):
896911

897912
self._daily_amortized_round_amount = daily_amortized_round_amount
898913

914+
@property
915+
def deduction_use_duration(self):
916+
"""Gets the deduction_use_duration of this ListForListAmortizedCostBillDailyOutput. # noqa: E501
917+
918+
919+
:return: The deduction_use_duration of this ListForListAmortizedCostBillDailyOutput. # noqa: E501
920+
:rtype: str
921+
"""
922+
return self._deduction_use_duration
923+
924+
@deduction_use_duration.setter
925+
def deduction_use_duration(self, deduction_use_duration):
926+
"""Sets the deduction_use_duration of this ListForListAmortizedCostBillDailyOutput.
927+
928+
929+
:param deduction_use_duration: The deduction_use_duration of this ListForListAmortizedCostBillDailyOutput. # noqa: E501
930+
:type: str
931+
"""
932+
933+
self._deduction_use_duration = deduction_use_duration
934+
899935
@property
900936
def discount_bill_amount(self):
901937
"""Gets the discount_bill_amount of this ListForListAmortizedCostBillDailyOutput. # noqa: E501
@@ -1694,6 +1730,48 @@ def seller_user_name(self, seller_user_name):
16941730

16951731
self._seller_user_name = seller_user_name
16961732

1733+
@property
1734+
def split_item_id(self):
1735+
"""Gets the split_item_id of this ListForListAmortizedCostBillDailyOutput. # noqa: E501
1736+
1737+
1738+
:return: The split_item_id of this ListForListAmortizedCostBillDailyOutput. # noqa: E501
1739+
:rtype: str
1740+
"""
1741+
return self._split_item_id
1742+
1743+
@split_item_id.setter
1744+
def split_item_id(self, split_item_id):
1745+
"""Sets the split_item_id of this ListForListAmortizedCostBillDailyOutput.
1746+
1747+
1748+
:param split_item_id: The split_item_id of this ListForListAmortizedCostBillDailyOutput. # noqa: E501
1749+
:type: str
1750+
"""
1751+
1752+
self._split_item_id = split_item_id
1753+
1754+
@property
1755+
def split_item_name(self):
1756+
"""Gets the split_item_name of this ListForListAmortizedCostBillDailyOutput. # noqa: E501
1757+
1758+
1759+
:return: The split_item_name of this ListForListAmortizedCostBillDailyOutput. # noqa: E501
1760+
:rtype: str
1761+
"""
1762+
return self._split_item_name
1763+
1764+
@split_item_name.setter
1765+
def split_item_name(self, split_item_name):
1766+
"""Sets the split_item_name of this ListForListAmortizedCostBillDailyOutput.
1767+
1768+
1769+
:param split_item_name: The split_item_name of this ListForListAmortizedCostBillDailyOutput. # noqa: E501
1770+
:type: str
1771+
"""
1772+
1773+
self._split_item_name = split_item_name
1774+
16971775
@property
16981776
def subject_name(self):
16991777
"""Gets the subject_name of this ListForListAmortizedCostBillDailyOutput. # noqa: E501

volcenginesdkbilling/models/list_for_list_amortized_cost_bill_detail_output.py

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class ListForListAmortizedCostBillDetailOutput(object):
5858
'daily_amortized_payable_amount': 'str',
5959
'daily_amortized_preferential_bill_amount': 'str',
6060
'daily_amortized_round_amount': 'str',
61+
'deduction_use_duration': 'str',
6162
'discount_bill_amount': 'str',
6263
'discount_biz_billing_function': 'str',
6364
'discount_biz_measure_interval': 'str',
@@ -95,6 +96,8 @@ class ListForListAmortizedCostBillDetailOutput(object):
9596
'seller_customer_name': 'str',
9697
'seller_id': 'str',
9798
'seller_user_name': 'str',
99+
'split_item_id': 'str',
100+
'split_item_name': 'str',
98101
'subject_name': 'str',
99102
'tag': 'str',
100103
'trade_time': 'str',
@@ -130,6 +133,7 @@ class ListForListAmortizedCostBillDetailOutput(object):
130133
'daily_amortized_payable_amount': 'DailyAmortizedPayableAmount',
131134
'daily_amortized_preferential_bill_amount': 'DailyAmortizedPreferentialBillAmount',
132135
'daily_amortized_round_amount': 'DailyAmortizedRoundAmount',
136+
'deduction_use_duration': 'DeductionUseDuration',
133137
'discount_bill_amount': 'DiscountBillAmount',
134138
'discount_biz_billing_function': 'DiscountBizBillingFunction',
135139
'discount_biz_measure_interval': 'DiscountBizMeasureInterval',
@@ -167,6 +171,8 @@ class ListForListAmortizedCostBillDetailOutput(object):
167171
'seller_customer_name': 'SellerCustomerName',
168172
'seller_id': 'SellerID',
169173
'seller_user_name': 'SellerUserName',
174+
'split_item_id': 'SplitItemID',
175+
'split_item_name': 'SplitItemName',
170176
'subject_name': 'SubjectName',
171177
'tag': 'Tag',
172178
'trade_time': 'TradeTime',
@@ -176,7 +182,7 @@ class ListForListAmortizedCostBillDetailOutput(object):
176182
'zone': 'Zone'
177183
}
178184

179-
def __init__(self, amortized_begin_time=None, amortized_day=None, amortized_end_time=None, amortized_month=None, amortized_type=None, bill_category=None, bill_id=None, bill_period=None, billing_function=None, billing_method_code=None, billing_mode=None, busi_period=None, business_mode=None, config_name=None, cost_id=None, count=None, coupon_amount=None, currency=None, daily_amortized_coupon_amount=None, daily_amortized_discount_bill_amount=None, daily_amortized_original_bill_amount=None, daily_amortized_paid_amount=None, daily_amortized_payable_amount=None, daily_amortized_preferential_bill_amount=None, daily_amortized_round_amount=None, discount_bill_amount=None, discount_biz_billing_function=None, discount_biz_measure_interval=None, discount_biz_unit_price=None, discount_biz_unit_price_interval=None, effective_factor=None, element=None, expand_field=None, expense_begin_time=None, expense_end_time=None, factor=None, instance_name=None, instance_no=None, market_price=None, measure_interval=None, original_bill_amount=None, owner_customer_name=None, owner_id=None, owner_user_name=None, paid_amount=None, payable_amount=None, payer_customer_name=None, payer_id=None, payer_user_name=None, preferential_bill_amount=None, price=None, price_interval=None, price_unit=None, product=None, product_zh=None, project=None, project_display_name=None, region=None, round_amount=None, seller_customer_name=None, seller_id=None, seller_user_name=None, subject_name=None, tag=None, trade_time=None, unit=None, use_duration=None, use_duration_unit=None, zone=None, _configuration=None): # noqa: E501
185+
def __init__(self, amortized_begin_time=None, amortized_day=None, amortized_end_time=None, amortized_month=None, amortized_type=None, bill_category=None, bill_id=None, bill_period=None, billing_function=None, billing_method_code=None, billing_mode=None, busi_period=None, business_mode=None, config_name=None, cost_id=None, count=None, coupon_amount=None, currency=None, daily_amortized_coupon_amount=None, daily_amortized_discount_bill_amount=None, daily_amortized_original_bill_amount=None, daily_amortized_paid_amount=None, daily_amortized_payable_amount=None, daily_amortized_preferential_bill_amount=None, daily_amortized_round_amount=None, deduction_use_duration=None, discount_bill_amount=None, discount_biz_billing_function=None, discount_biz_measure_interval=None, discount_biz_unit_price=None, discount_biz_unit_price_interval=None, effective_factor=None, element=None, expand_field=None, expense_begin_time=None, expense_end_time=None, factor=None, instance_name=None, instance_no=None, market_price=None, measure_interval=None, original_bill_amount=None, owner_customer_name=None, owner_id=None, owner_user_name=None, paid_amount=None, payable_amount=None, payer_customer_name=None, payer_id=None, payer_user_name=None, preferential_bill_amount=None, price=None, price_interval=None, price_unit=None, product=None, product_zh=None, project=None, project_display_name=None, region=None, round_amount=None, seller_customer_name=None, seller_id=None, seller_user_name=None, split_item_id=None, split_item_name=None, subject_name=None, tag=None, trade_time=None, unit=None, use_duration=None, use_duration_unit=None, zone=None, _configuration=None): # noqa: E501
180186
"""ListForListAmortizedCostBillDetailOutput - a model defined in Swagger""" # noqa: E501
181187
if _configuration is None:
182188
_configuration = Configuration()
@@ -207,6 +213,7 @@ def __init__(self, amortized_begin_time=None, amortized_day=None, amortized_end_
207213
self._daily_amortized_payable_amount = None
208214
self._daily_amortized_preferential_bill_amount = None
209215
self._daily_amortized_round_amount = None
216+
self._deduction_use_duration = None
210217
self._discount_bill_amount = None
211218
self._discount_biz_billing_function = None
212219
self._discount_biz_measure_interval = None
@@ -244,6 +251,8 @@ def __init__(self, amortized_begin_time=None, amortized_day=None, amortized_end_
244251
self._seller_customer_name = None
245252
self._seller_id = None
246253
self._seller_user_name = None
254+
self._split_item_id = None
255+
self._split_item_name = None
247256
self._subject_name = None
248257
self._tag = None
249258
self._trade_time = None
@@ -303,6 +312,8 @@ def __init__(self, amortized_begin_time=None, amortized_day=None, amortized_end_
303312
self.daily_amortized_preferential_bill_amount = daily_amortized_preferential_bill_amount
304313
if daily_amortized_round_amount is not None:
305314
self.daily_amortized_round_amount = daily_amortized_round_amount
315+
if deduction_use_duration is not None:
316+
self.deduction_use_duration = deduction_use_duration
306317
if discount_bill_amount is not None:
307318
self.discount_bill_amount = discount_bill_amount
308319
if discount_biz_billing_function is not None:
@@ -377,6 +388,10 @@ def __init__(self, amortized_begin_time=None, amortized_day=None, amortized_end_
377388
self.seller_id = seller_id
378389
if seller_user_name is not None:
379390
self.seller_user_name = seller_user_name
391+
if split_item_id is not None:
392+
self.split_item_id = split_item_id
393+
if split_item_name is not None:
394+
self.split_item_name = split_item_name
380395
if subject_name is not None:
381396
self.subject_name = subject_name
382397
if tag is not None:
@@ -917,6 +932,27 @@ def daily_amortized_round_amount(self, daily_amortized_round_amount):
917932

918933
self._daily_amortized_round_amount = daily_amortized_round_amount
919934

935+
@property
936+
def deduction_use_duration(self):
937+
"""Gets the deduction_use_duration of this ListForListAmortizedCostBillDetailOutput. # noqa: E501
938+
939+
940+
:return: The deduction_use_duration of this ListForListAmortizedCostBillDetailOutput. # noqa: E501
941+
:rtype: str
942+
"""
943+
return self._deduction_use_duration
944+
945+
@deduction_use_duration.setter
946+
def deduction_use_duration(self, deduction_use_duration):
947+
"""Sets the deduction_use_duration of this ListForListAmortizedCostBillDetailOutput.
948+
949+
950+
:param deduction_use_duration: The deduction_use_duration of this ListForListAmortizedCostBillDetailOutput. # noqa: E501
951+
:type: str
952+
"""
953+
954+
self._deduction_use_duration = deduction_use_duration
955+
920956
@property
921957
def discount_bill_amount(self):
922958
"""Gets the discount_bill_amount of this ListForListAmortizedCostBillDetailOutput. # noqa: E501
@@ -1694,6 +1730,48 @@ def seller_user_name(self, seller_user_name):
16941730

16951731
self._seller_user_name = seller_user_name
16961732

1733+
@property
1734+
def split_item_id(self):
1735+
"""Gets the split_item_id of this ListForListAmortizedCostBillDetailOutput. # noqa: E501
1736+
1737+
1738+
:return: The split_item_id of this ListForListAmortizedCostBillDetailOutput. # noqa: E501
1739+
:rtype: str
1740+
"""
1741+
return self._split_item_id
1742+
1743+
@split_item_id.setter
1744+
def split_item_id(self, split_item_id):
1745+
"""Sets the split_item_id of this ListForListAmortizedCostBillDetailOutput.
1746+
1747+
1748+
:param split_item_id: The split_item_id of this ListForListAmortizedCostBillDetailOutput. # noqa: E501
1749+
:type: str
1750+
"""
1751+
1752+
self._split_item_id = split_item_id
1753+
1754+
@property
1755+
def split_item_name(self):
1756+
"""Gets the split_item_name of this ListForListAmortizedCostBillDetailOutput. # noqa: E501
1757+
1758+
1759+
:return: The split_item_name of this ListForListAmortizedCostBillDetailOutput. # noqa: E501
1760+
:rtype: str
1761+
"""
1762+
return self._split_item_name
1763+
1764+
@split_item_name.setter
1765+
def split_item_name(self, split_item_name):
1766+
"""Sets the split_item_name of this ListForListAmortizedCostBillDetailOutput.
1767+
1768+
1769+
:param split_item_name: The split_item_name of this ListForListAmortizedCostBillDetailOutput. # noqa: E501
1770+
:type: str
1771+
"""
1772+
1773+
self._split_item_name = split_item_name
1774+
16971775
@property
16981776
def subject_name(self):
16991777
"""Gets the subject_name of this ListForListAmortizedCostBillDetailOutput. # noqa: E501

0 commit comments

Comments
 (0)