Skip to main content

amazon_spapi/models/product_fees_v0/
points.rs

1/*
2 * Selling Partner API for Product Fees
3 *
4 * The Selling Partner API for Product Fees lets you programmatically retrieve estimated fees for a product. You can then account for those fees in your pricing.
5 *
6 * The version of the OpenAPI document: v0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct Points {
16    #[serde(rename = "PointsNumber", skip_serializing_if = "Option::is_none")]
17    pub points_number: Option<i32>,
18    #[serde(rename = "PointsMonetaryValue", skip_serializing_if = "Option::is_none")]
19    pub points_monetary_value: Option<Box<models::product_fees_v0::MoneyType>>,
20}
21
22impl Points {
23    pub fn new() -> Points {
24        Points {
25            points_number: None,
26            points_monetary_value: None,
27        }
28    }
29}
30