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
/*
* Ponto Connect
*
* For more info, please refer to the documentation: https://documentation.ibanity.com/ponto-connect/
*
* The version of the OpenAPI document: 2
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BulkPaymentAttributes {
/// Current status of the bulk payment. <a href='/ponto-connect/products#payment-initiation-workflow'>See possible statuses</a>.
#[serde(rename = "status", skip_serializing_if = "Option::is_none")]
pub status: Option<String>,
/// Your identifier for the bulk payment, displayed to the user in the Ponto dashboard
#[serde(rename = "reference", skip_serializing_if = "Option::is_none")]
pub reference: Option<String>,
/// A date in the future when the payment is requested to be executed. The availability of this feature depends on each financial institution. See <a href='https://documentation.ibanity.com//api#financial-institution-attributes'>financial institution attributes</a>. Note that it is not possible to simulate the delayed execution of a payment with the sandbox.
#[serde(rename = "requestedExecutionDate", skip_serializing_if = "Option::is_none")]
pub requested_execution_date: Option<String>,
/// <p>Indicates whether the bulk payment transactions should be grouped into one booking entry by the financial institution instead of individual transactions.</p><p>This is a preference that may or may not be taken into account by the financial institution based on availability and the customer's bulk payment contract.</p><p>Defaults to <code>false</code></p>
#[serde(rename = "batchBookingPreferred", skip_serializing_if = "Option::is_none")]
pub batch_booking_preferred: Option<bool>,
}
impl BulkPaymentAttributes {
pub fn new() -> BulkPaymentAttributes {
BulkPaymentAttributes {
status: None,
reference: None,
requested_execution_date: None,
batch_booking_preferred: None,
}
}
}