com.checkout.payments.Product Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk-java Show documentation
Show all versions of checkout-sdk-java Show documentation
Checkout SDK for Java https://checkout.com
package com.checkout.payments;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
@Data
@Builder
@AllArgsConstructor
public final class Product {
private String name;
private Long quantity;
@SerializedName("unit_price")
private Long unitPrice;
private String reference;
@SerializedName("commodity_code")
private String commodityCode;
@SerializedName("unit_of_measure")
private String unitOfMeasure;
@SerializedName("total_amount")
private Long totalAmount;
@SerializedName("tax_amount")
private Long taxAmount;
@SerializedName("discount_amount")
private Long discountAmount;
@SerializedName("wxpay_goods_id")
private String wxpayGoodsId;
@SerializedName("image_url")
private String imageUrl;
private String url;
private String sku;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy