amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * The Selling Partner API for Amazon Seller Wallet Open Banking API
 *
 * The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
 *
 * The version of the OpenAPI document: 2024-03-01
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// TransferScheduleFailures : Specifies the balance amount in the Amazon SW bank account
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TransferScheduleFailures {
    /// The transfer schedule cancellation date 
    #[serde(rename = "transferScheduleFailureDate")]
    pub transfer_schedule_failure_date: String,
    /// The statement/reasoning listed for the cancellation of the transfer schedule 
    #[serde(rename = "transferScheduleFailureReason")]
    pub transfer_schedule_failure_reason: String,
}

impl TransferScheduleFailures {
    /// Specifies the balance amount in the Amazon SW bank account
    pub fn new(transfer_schedule_failure_date: String, transfer_schedule_failure_reason: String) -> TransferScheduleFailures {
        TransferScheduleFailures {
            transfer_schedule_failure_date,
            transfer_schedule_failure_reason,
        }
    }
}