Interface AppPaymentRegistration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AppPaymentRegistration.Builder,,AppPaymentRegistration> SdkBuilder<AppPaymentRegistration.Builder,,AppPaymentRegistration> SdkPojo
- Enclosing class:
AppPaymentRegistration
-
Method Summary
Modifier and TypeMethodDescriptionadditionalAppEligibility(String additionalAppEligibility) Whether a further app may bind to the app's payment registration, and if not, why.additionalAppEligibility(AdditionalAppEligibility additionalAppEligibility) Whether a further app may bind to the app's payment registration, and if not, why.The ID of the app this registration belongs to.businessType(String businessType) Whether the seller registered as an individual or a registered business.businessType(BusinessType businessType) Whether the seller registered as an individual or a registered business.The time the payment registration was created.default AppPaymentRegistration.BuilderdeveloperAddress(Consumer<DeveloperAddress.Builder> developerAddress) The seller's postal address.developerAddress(DeveloperAddress developerAddress) The seller's postal address.displayName(String displayName) Customer-facing name (doing-business-as) shown to buyers on invoices, read from the seller profile.The seller's primary contact email, read from the seller profile.The seller's registered legal name.paymentRegistrationId(String paymentRegistrationId) The payment registration the app is bound to.paymentRegistrationStatus(String paymentRegistrationStatus) The onboarding status of this app's payment registration.paymentRegistrationStatus(PaymentRegistrationStatus paymentRegistrationStatus) The onboarding status of this app's payment registration.The onboarding status of the payment registration for this app (ACTIVE, PENDING, or FAILED).status(AppPaymentRegistrationStatus status) The onboarding status of the payment registration for this app (ACTIVE, PENDING, or FAILED).supportEmail(String supportEmail) The seller's support email address, displayed in the invoice footer.supportPhone(String supportPhone) Customer-facing support phone number, read from the seller profile.taxRegistrationNumber(String taxRegistrationNumber) The seller's tax registration number (for example, VAT, GST, or EIN).taxRegistrations(Collection<TaxRegistration> taxRegistrations) The jurisdictions where the seller is registered to collect tax.taxRegistrations(Consumer<TaxRegistration.Builder>... taxRegistrations) The jurisdictions where the seller is registered to collect tax.taxRegistrations(TaxRegistration... taxRegistrations) The jurisdictions where the seller is registered to collect tax.The time the payment registration was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
appId
The ID of the app this registration belongs to.
- Parameters:
appId- The ID of the app this registration belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The onboarding status of the payment registration for this app (ACTIVE, PENDING, or FAILED).
- Parameters:
status- The onboarding status of the payment registration for this app (ACTIVE, PENDING, or FAILED).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The onboarding status of the payment registration for this app (ACTIVE, PENDING, or FAILED).
- Parameters:
status- The onboarding status of the payment registration for this app (ACTIVE, PENDING, or FAILED).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentRegistrationId
The payment registration the app is bound to. Pass it to UpdateAppPaymentRegistration on another app to bind that app to the same registration. Absent if the app uses a payment registration created before registrations could be shared.
- Parameters:
paymentRegistrationId- The payment registration the app is bound to. Pass it to UpdateAppPaymentRegistration on another app to bind that app to the same registration. Absent if the app uses a payment registration created before registrations could be shared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paymentRegistrationStatus
The onboarding status of this app's payment registration. It has the same value as
status. Present exactly whenpaymentRegistrationIdis.- Parameters:
paymentRegistrationStatus- The onboarding status of this app's payment registration. It has the same value asstatus. Present exactly whenpaymentRegistrationIdis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paymentRegistrationStatus
AppPaymentRegistration.Builder paymentRegistrationStatus(PaymentRegistrationStatus paymentRegistrationStatus) The onboarding status of this app's payment registration. It has the same value as
status. Present exactly whenpaymentRegistrationIdis.- Parameters:
paymentRegistrationStatus- The onboarding status of this app's payment registration. It has the same value asstatus. Present exactly whenpaymentRegistrationIdis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalAppEligibility
Whether a further app may bind to the app's payment registration, and if not, why. Present exactly when paymentRegistrationId is.
- Parameters:
additionalAppEligibility- Whether a further app may bind to the app's payment registration, and if not, why. Present exactly when paymentRegistrationId is.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalAppEligibility
AppPaymentRegistration.Builder additionalAppEligibility(AdditionalAppEligibility additionalAppEligibility) Whether a further app may bind to the app's payment registration, and if not, why. Present exactly when paymentRegistrationId is.
- Parameters:
additionalAppEligibility- Whether a further app may bind to the app's payment registration, and if not, why. Present exactly when paymentRegistrationId is.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
legalName
The seller's registered legal name.
- Parameters:
legalName- The seller's registered legal name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
developerAddress
The seller's postal address.
- Parameters:
developerAddress- The seller's postal address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
developerAddress
default AppPaymentRegistration.Builder developerAddress(Consumer<DeveloperAddress.Builder> developerAddress) The seller's postal address.
This is a convenience method that creates an instance of theDeveloperAddress.Builderavoiding the need to create one manually viaDeveloperAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeveloperAddress(DeveloperAddress).- Parameters:
developerAddress- a consumer that will call methods onDeveloperAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taxRegistrationNumber
The seller's tax registration number (for example, VAT, GST, or EIN).
- Parameters:
taxRegistrationNumber- The seller's tax registration number (for example, VAT, GST, or EIN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
businessType
Whether the seller registered as an individual or a registered business.
- Parameters:
businessType- Whether the seller registered as an individual or a registered business.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
businessType
Whether the seller registered as an individual or a registered business.
- Parameters:
businessType- Whether the seller registered as an individual or a registered business.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
email
The seller's primary contact email, read from the seller profile.
- Parameters:
email- The seller's primary contact email, read from the seller profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportEmail
The seller's support email address, displayed in the invoice footer.
- Parameters:
supportEmail- The seller's support email address, displayed in the invoice footer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
Customer-facing name (doing-business-as) shown to buyers on invoices, read from the seller profile.
- Parameters:
displayName- Customer-facing name (doing-business-as) shown to buyers on invoices, read from the seller profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportPhone
Customer-facing support phone number, read from the seller profile.
- Parameters:
supportPhone- Customer-facing support phone number, read from the seller profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrations
The jurisdictions where the seller is registered to collect tax.
- Parameters:
taxRegistrations- The jurisdictions where the seller is registered to collect tax.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrations
The jurisdictions where the seller is registered to collect tax.
- Parameters:
taxRegistrations- The jurisdictions where the seller is registered to collect tax.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxRegistrations
AppPaymentRegistration.Builder taxRegistrations(Consumer<TaxRegistration.Builder>... taxRegistrations) The jurisdictions where the seller is registered to collect tax.
This is a convenience method that creates an instance of theTaxRegistration.Builderavoiding the need to create one manually viaTaxRegistration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaxRegistrations(List<TaxRegistration>).- Parameters:
taxRegistrations- a consumer that will call methods onTaxRegistration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time the payment registration was created.
- Parameters:
createdAt- The time the payment registration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time the payment registration was last updated.
- Parameters:
updatedAt- The time the payment registration was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-