
com.tencentcloudapi.intlpartnersmgt.v20220928.models.PayModeSummaryOverviewItem Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
package com.tencentcloudapi.intlpartnersmgt.v20220928.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class PayModeSummaryOverviewItem extends AbstractModel {
/**
* Billing mode
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("PayMode")
@Expose
private String PayMode;
/**
* Billing mode name
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("PayModeName")
@Expose
private String PayModeName;
/**
* The actual total consumption amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("OriginalCost")
@Expose
private String OriginalCost;
/**
* Bill details in each payment mode
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Detail")
@Expose
private ActionSummaryOverviewItem [] Detail;
/**
* The deducted voucher amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("VoucherPayAmount")
@Expose
private String VoucherPayAmount;
/**
* Total consumption amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("TotalCost")
@Expose
private String TotalCost;
/**
* Get Billing mode
Note: This field may return null, indicating that no valid values can be obtained.
* @return PayMode Billing mode
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getPayMode() {
return this.PayMode;
}
/**
* Set Billing mode
Note: This field may return null, indicating that no valid values can be obtained.
* @param PayMode Billing mode
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setPayMode(String PayMode) {
this.PayMode = PayMode;
}
/**
* Get Billing mode name
Note: This field may return null, indicating that no valid values can be obtained.
* @return PayModeName Billing mode name
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getPayModeName() {
return this.PayModeName;
}
/**
* Set Billing mode name
Note: This field may return null, indicating that no valid values can be obtained.
* @param PayModeName Billing mode name
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setPayModeName(String PayModeName) {
this.PayModeName = PayModeName;
}
/**
* Get The actual total consumption amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
* @return OriginalCost The actual total consumption amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getOriginalCost() {
return this.OriginalCost;
}
/**
* Set The actual total consumption amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
* @param OriginalCost The actual total consumption amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setOriginalCost(String OriginalCost) {
this.OriginalCost = OriginalCost;
}
/**
* Get Bill details in each payment mode
Note: This field may return null, indicating that no valid values can be obtained.
* @return Detail Bill details in each payment mode
Note: This field may return null, indicating that no valid values can be obtained.
*/
public ActionSummaryOverviewItem [] getDetail() {
return this.Detail;
}
/**
* Set Bill details in each payment mode
Note: This field may return null, indicating that no valid values can be obtained.
* @param Detail Bill details in each payment mode
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setDetail(ActionSummaryOverviewItem [] Detail) {
this.Detail = Detail;
}
/**
* Get The deducted voucher amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
* @return VoucherPayAmount The deducted voucher amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getVoucherPayAmount() {
return this.VoucherPayAmount;
}
/**
* Set The deducted voucher amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
* @param VoucherPayAmount The deducted voucher amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setVoucherPayAmount(String VoucherPayAmount) {
this.VoucherPayAmount = VoucherPayAmount;
}
/**
* Get Total consumption amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
* @return TotalCost Total consumption amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getTotalCost() {
return this.TotalCost;
}
/**
* Set Total consumption amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
* @param TotalCost Total consumption amount accurate down to eight decimal places
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setTotalCost(String TotalCost) {
this.TotalCost = TotalCost;
}
public PayModeSummaryOverviewItem() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public PayModeSummaryOverviewItem(PayModeSummaryOverviewItem source) {
if (source.PayMode != null) {
this.PayMode = new String(source.PayMode);
}
if (source.PayModeName != null) {
this.PayModeName = new String(source.PayModeName);
}
if (source.OriginalCost != null) {
this.OriginalCost = new String(source.OriginalCost);
}
if (source.Detail != null) {
this.Detail = new ActionSummaryOverviewItem[source.Detail.length];
for (int i = 0; i < source.Detail.length; i++) {
this.Detail[i] = new ActionSummaryOverviewItem(source.Detail[i]);
}
}
if (source.VoucherPayAmount != null) {
this.VoucherPayAmount = new String(source.VoucherPayAmount);
}
if (source.TotalCost != null) {
this.TotalCost = new String(source.TotalCost);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "PayMode", this.PayMode);
this.setParamSimple(map, prefix + "PayModeName", this.PayModeName);
this.setParamSimple(map, prefix + "OriginalCost", this.OriginalCost);
this.setParamArrayObj(map, prefix + "Detail.", this.Detail);
this.setParamSimple(map, prefix + "VoucherPayAmount", this.VoucherPayAmount);
this.setParamSimple(map, prefix + "TotalCost", this.TotalCost);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy