aws_sdk_appmonetization/client/update_app_payment_registration.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateAppPaymentRegistration`](crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - [`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>
11 /// - [`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>
12 /// - [`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>
13 /// - [`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>
14 /// - [`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>
15 /// - [`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>
16 /// - [`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>
17 /// - [`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>
18 /// - On success, responds with [`UpdateAppPaymentRegistrationOutput`](crate::operation::update_app_payment_registration::UpdateAppPaymentRegistrationOutput) with field(s):
19 /// - [`app_payment_registration(Option<AppPaymentRegistration>)`](crate::operation::update_app_payment_registration::UpdateAppPaymentRegistrationOutput::app_payment_registration): The app's updated payment registration.
20 /// - On failure, responds with [`SdkError<UpdateAppPaymentRegistrationError>`](crate::operation::update_app_payment_registration::UpdateAppPaymentRegistrationError)
21 pub fn update_app_payment_registration(
22 &self,
23 ) -> crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder {
24 crate::operation::update_app_payment_registration::builders::UpdateAppPaymentRegistrationFluentBuilder::new(self.handle.clone())
25 }
26}