Source code for jdcloud_sdk.services.billing.models.OrderPrice

# 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.


[docs]class OrderPrice(object): def __init__(self, totalPrice=None, totalPriceScale4=None, discountedTotalPrice=None, totalDiscount=None, list=None, totalOriginalPrice=None, favorableInfos=None, remark=None): """ :param totalPrice: (Optional) 折扣前总价 :param totalPriceScale4: (Optional) 折扣前总价4位 :param discountedTotalPrice: (Optional) 折扣后订单价格 :param totalDiscount: (Optional) 总折扣金额 :param list: (Optional) 计算完价格后的详细订单列表 :param totalOriginalPrice: (Optional) 订单原价 包年时 一年原价为12个月价格,totalPrice为10个月价格 :param favorableInfos: (Optional) 参与优惠的明细 :param remark: (Optional) 备注 """ self.totalPrice = totalPrice self.totalPriceScale4 = totalPriceScale4 self.discountedTotalPrice = discountedTotalPrice self.totalDiscount = totalDiscount self.list = list self.totalOriginalPrice = totalOriginalPrice self.favorableInfos = favorableInfos self.remark = remark