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 36 37 38 39 40 41
/*
* Selling Partner API for Finances
*
* The Selling Partner API for Finances helps you obtain financial information relevant to a seller's business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain financial event groups for a given date range.
*
* The version of the OpenAPI document: v0
*
* Generated by: https://openapi-generator.tech
*/
/// AdjustmentEvent : An adjustment to the seller's account.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct AdjustmentEvent {
/// The type of adjustment. Possible values: * FBAInventoryReimbursement - An FBA inventory reimbursement to a seller's account. This occurs if a seller's inventory is damaged. * ReserveEvent - A reserve event that is generated at the time of a settlement period closing. This occurs when some money from a seller's account is held back. * PostageBilling - The amount paid by a seller for shipping labels. * PostageRefund - The reimbursement of shipping labels purchased for orders that were canceled or refunded. * LostOrDamagedReimbursement - An Amazon Easy Ship reimbursement to a seller's account for a package that we lost or damaged. * CanceledButPickedUpReimbursement - An Amazon Easy Ship reimbursement to a seller's account. This occurs when a package is picked up and the order is subsequently canceled. This value is used only in the India marketplace. * ReimbursementClawback - An Amazon Easy Ship reimbursement clawback from a seller's account. This occurs when a prior reimbursement is reversed. This value is used only in the India marketplace. * SellerRewards - An award credited to a seller's account for their participation in an offer in the Seller Rewards program. Applies only to the India marketplace.
#[serde(default, rename = "AdjustmentType", skip_serializing_if = "Option::is_none")]
pub adjustment_type: Option<String>,
#[serde(default, rename = "PostedDate", skip_serializing_if = "Option::is_none")]
pub posted_date: Option<String>,
#[serde(default, rename = "AdjustmentAmount", skip_serializing_if = "Option::is_none")]
pub adjustment_amount: Option<Box<crate::models::Currency>>,
/// A list of information about items in an adjustment to the seller's account.
#[serde(default, rename = "AdjustmentItemList", skip_serializing_if = "Option::is_none")]
pub adjustment_item_list: Option<Vec<crate::models::AdjustmentItem>>,
}
impl AdjustmentEvent {
/// An adjustment to the seller's account.
pub fn new() -> AdjustmentEvent {
AdjustmentEvent {
adjustment_type: None,
posted_date: None,
adjustment_amount: None,
adjustment_item_list: None,
}
}
}