
com.alipay.api.domain.AlipayDaoweiServicePriceModifyModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alipay-sdk Show documentation
Show all versions of alipay-sdk Show documentation
baidu push client api with maven
The newest version!
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 更新服务价格接口
*
* @author auto create
* @since 1.0, 2017-06-12 10:29:34
*/
public class AlipayDaoweiServicePriceModifyModel extends AlipayObject {
private static final long serialVersionUID = 1296717527873386568L;
/**
* 外部服务id,商家自己维护的唯一标识,用于确定商家的某个服务.仅支持数字,字母和下划线
*/
@ApiField("out_service_id")
private String outServiceId;
/**
* 价格维度类型,可选值:string;json。string表示unit_price的类型是一维价格,如果是json表示多维价格
*/
@ApiField("price_dim_type")
private String priceDimType;
/**
* 单价,单位为元,根据price_dim_type的值决定如果是一维价格直接使用字符串,比如:"30.5";如果是多维,需要跟SKU结合进行定价,SKU通过alipay.daowei.service.modify接口在创建服务的时候创建。例子:
[{out_sku_id: 1, price: 50.5},
{out_sku_id: 2, price: 60.5},
]
out_sku_id是在sku中定义的外部商品库存单位信息ID,该配置表示out_sku_id为1的时候对应的价格是50.5,out_sku_id为2的时候对应的价格是60.5
*/
@ApiField("unit_price")
private String unitPrice;
public String getOutServiceId() {
return this.outServiceId;
}
public void setOutServiceId(String outServiceId) {
this.outServiceId = outServiceId;
}
public String getPriceDimType() {
return this.priceDimType;
}
public void setPriceDimType(String priceDimType) {
this.priceDimType = priceDimType;
}
public String getUnitPrice() {
return this.unitPrice;
}
public void setUnitPrice(String unitPrice) {
this.unitPrice = unitPrice;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy