/*
* Selling Partner API for Pricing
*
* The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
*
* The version of the OpenAPI document: v0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// GetOffersResponse : The response schema for the `getListingOffers` and `getItemOffers` operations.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetOffersResponse {
#[serde(rename = "payload", skip_serializing_if = "Option::is_none")]
pub payload: Option<Box<models::product_pricing_v0::GetOffersResult>>,
/// A list of error responses returned when a request is unsuccessful.
#[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
pub errors: Option<Vec<models::product_pricing_v0::Error>>,
}
impl GetOffersResponse {
/// The response schema for the `getListingOffers` and `getItemOffers` operations.
pub fn new() -> GetOffersResponse {
GetOffersResponse {
payload: None,
errors: None,
}
}
}