aws-sdk-payments 1.1.0

AWS SDK for AWS Payments
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetFinancialRecord`](crate::operation::get_financial_record::builders::GetFinancialRecordFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_financial_record::builders::GetFinancialRecordFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_financial_record::builders::GetFinancialRecordFluentBuilder::set_identifier):<br>required: **false**<br><p>The ID that Amazon Web Services Payments issued for the financial record, as returned in <code>id</code>.</p><br>
    ///   - [`invoice_identifier(impl Into<String>)`](crate::operation::get_financial_record::builders::GetFinancialRecordFluentBuilder::invoice_identifier) / [`set_invoice_identifier(Option<String>)`](crate::operation::get_financial_record::builders::GetFinancialRecordFluentBuilder::set_invoice_identifier):<br>required: **false**<br><p>The invoice ID that Amazon Web Services Invoicing issued for an invoice or a credit memo. The operation returns the record that has this invoice ID.</p><br>
    /// - On success, responds with [`GetFinancialRecordOutput`](crate::operation::get_financial_record::GetFinancialRecordOutput) with field(s):
    ///   - [`financial_record(Option<FinancialRecord>)`](crate::operation::get_financial_record::GetFinancialRecordOutput::financial_record): <p>The requested financial record.</p>
    /// - On failure, responds with [`SdkError<GetFinancialRecordError>`](crate::operation::get_financial_record::GetFinancialRecordError)
    pub fn get_financial_record(&self) -> crate::operation::get_financial_record::builders::GetFinancialRecordFluentBuilder {
        crate::operation::get_financial_record::builders::GetFinancialRecordFluentBuilder::new(self.handle.clone())
    }
}