kboss/kgadget/src/partnerall/order_a/models/PaymentOrderSourceObject.py
2025-07-16 14:27:17 +08:00

60 lines
2.6 KiB
Python

# coding=utf8
# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.
class PaymentOrderSourceObject(object):
def __init__(self, itemId=None, itemName=None, extraInfo=None, unit=None, quantity=None, chargeDuration=None, serviceCode=None, serviceCodeName=None, appCode=None, appCodeName=None, chargeMode=None, actualFee=None, totalFee=None, discountFee=None, payType=None, receiptOrgNumber=None, selfSupportType=None):
"""
:param itemId: (Optional)
:param itemName: (Optional)
:param extraInfo: (Optional)
:param unit: (Optional)
:param quantity: (Optional)
:param chargeDuration: (Optional)
:param serviceCode: (Optional)
:param serviceCodeName: (Optional)
:param appCode: (Optional)
:param appCodeName: (Optional)
:param chargeMode: (Optional) 计费类型(CONFIG-按配置,FLOW-按用量MONTHLY-包年包月,ONCE-按次付费)
:param actualFee: (Optional) 应付金额(订单总金额-折扣金额)
:param totalFee: (Optional) 订单总金额
:param discountFee: (Optional) 折扣金额
:param payType: (Optional) 付费类型(PRE_PAID-预付费,POST_PAID-后付费)
:param receiptOrgNumber: (Optional) 支付主体
:param selfSupportType: (Optional) 自营类型(SELF_SUPPORT-自营,THIRD_PARTY_SUPPORT-非自营)
"""
self.itemId = itemId
self.itemName = itemName
self.extraInfo = extraInfo
self.unit = unit
self.quantity = quantity
self.chargeDuration = chargeDuration
self.serviceCode = serviceCode
self.serviceCodeName = serviceCodeName
self.appCode = appCode
self.appCodeName = appCodeName
self.chargeMode = chargeMode
self.actualFee = actualFee
self.totalFee = totalFee
self.discountFee = discountFee
self.payType = payType
self.receiptOrgNumber = receiptOrgNumber
self.selfSupportType = selfSupportType