aws-sdk-appmonetization 1.0.0

AWS SDK for AWS App Monetization
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateAppPaymentRegistration`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_id(impl Into<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::set_app_id):<br>required: **true**<br>The ID of the app whose payment registration is updated.<br>
    ///   - [`payment_registration_id(impl Into<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::payment_registration_id) / [`set_payment_registration_id(Option<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::set_payment_registration_id):<br>required: **false**<br>Binds the app to this payment registration, owned by the caller, or rebinds it from another one. Cannot be combined with legal-detail or contact members. Naming the registration the app already holds succeeds without a write.<br>
    ///   - [`legal_name(impl Into<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::legal_name) / [`set_legal_name(Option<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::set_legal_name):<br>required: **false**<br>Your registered legal name.<br>
    ///   - [`developer_address(DeveloperAddress)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::developer_address) / [`set_developer_address(Option<DeveloperAddress>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::set_developer_address):<br>required: **false**<br>Your business address.<br>
    ///   - [`tax_registration_number(impl Into<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::tax_registration_number) / [`set_tax_registration_number(Option<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::set_tax_registration_number):<br>required: **false**<br>Your tax registration number (for example, VAT, GST, or EIN).<br>
    ///   - [`email(impl Into<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::email) / [`set_email(Option<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::set_email):<br>required: **false**<br>Your primary contact email for this registration, distinct from supportEmail (the address shown to customers).<br>
    ///   - [`support_email(impl Into<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::support_email) / [`set_support_email(Option<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::set_support_email):<br>required: **false**<br>Your support email address, displayed in the invoice footer.<br>
    ///   - [`display_name(impl Into<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::set_display_name):<br>required: **false**<br>Customer-facing name (doing-business-as) shown to buyers on invoices, distinct from legalName.<br>
    ///   - [`support_phone(impl Into<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::support_phone) / [`set_support_phone(Option<String>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::set_support_phone):<br>required: **false**<br>Customer-facing support phone number shown to buyers on invoices.<br>
    ///   - [`invoice_logo(Blob)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::invoice_logo) / [`set_invoice_logo(Option<Blob>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::set_invoice_logo):<br>required: **false**<br>Logo printed on the seller's invoices: raw PNG or JPEG bytes, up to 100 KiB. The image type is detected from the bytes. Write-only: the logo is not returned by GetAppPaymentRegistration.<br>
    ///   - [`tax_registrations(TaxRegistration)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::tax_registrations) / [`set_tax_registrations(Option<Vec::<TaxRegistration>>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::set_tax_registrations):<br>required: **false**<br>The jurisdictions where the seller is registered to collect tax.<br>
    ///   - [`scope(RequestScope)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::scope) / [`set_scope(Option<RequestScope>)`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::set_scope):<br>required: **true**<br>Required. The environment: live or sandbox.<br>
    /// - On success, responds with [`UpdateAppPaymentRegistrationOutput`](crate::operation::update_app_payment_registration::UpdateAppPaymentRegistrationOutput) with field(s):
    ///   - [`app_payment_registration(Option<AppPaymentRegistration>)`](crate::operation::update_app_payment_registration::UpdateAppPaymentRegistrationOutput::app_payment_registration): The app's updated payment registration.
    /// - On failure, responds with [`SdkError<UpdateAppPaymentRegistrationError>`](crate::operation::update_app_payment_registration::UpdateAppPaymentRegistrationError)
    pub fn update_app_payment_registration(
        &self,
    ) -> crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder {
        crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::new(self.handle.clone())
    }
}