1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
/*
* Selling Partner API for Direct Fulfillment Orders
*
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor's order data.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
/// GiftDetails : Gift details for the item.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct GiftDetails {
/// Gift message to be printed in shipment.
#[serde(default, rename = "giftMessage", skip_serializing_if = "Option::is_none")]
pub gift_message: Option<String>,
/// Gift wrap identifier for the gift wrapping, if any.
#[serde(default, rename = "giftWrapId", skip_serializing_if = "Option::is_none")]
pub gift_wrap_id: Option<String>,
}
impl GiftDetails {
/// Gift details for the item.
pub fn new() -> GiftDetails {
GiftDetails {
gift_message: None,
gift_wrap_id: None,
}
}
}