Package com.docusign.esign.model
Class NewAccountDefinition
- java.lang.Object
-
- com.docusign.esign.model.NewAccountDefinition
-
- All Implemented Interfaces:
Serializable
public class NewAccountDefinition extends Object implements Serializable
NewAccountDefinition.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NewAccountDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NewAccountDefinitionaccountName(String accountName)accountName.NewAccountDefinitionaccountSettings(AccountSettingsInformation accountSettings)accountSettings.NewAccountDefinitionaddressInformation(AccountAddress addressInformation)addressInformation.NewAccountDefinitioncreditCardInformation(CreditCardInformation creditCardInformation)creditCardInformation.NewAccountDefinitiondirectDebitProcessorInformation(DirectDebitProcessorInformation directDebitProcessorInformation)directDebitProcessorInformation.NewAccountDefinitiondistributorCode(String distributorCode)distributorCode.NewAccountDefinitiondistributorPassword(String distributorPassword)distributorPassword.NewAccountDefinitionenablePreAuth(String enablePreAuth)enablePreAuth.NewAccountDefinitionenvelopePartitionId(String envelopePartitionId)envelopePartitionId.booleanequals(Object o)Compares objects.StringgetAccountName()The account name for the new account..AccountSettingsInformationgetAccountSettings()The list of account settings.AccountAddressgetAddressInformation()A complex type that contains the following information for the new account: `Street1`, `Street2`, `City`, `State`, `Zip`, `Phone`, and `Fax`..CreditCardInformationgetCreditCardInformation()A complex type that has information about the credit card used to pay for this account..DirectDebitProcessorInformationgetDirectDebitProcessorInformation()Information about the bank that processes direct debits for the payment plan..StringgetDistributorCode()The code that identifies the billing plan groups and plans for the new account..StringgetDistributorPassword()The password for the distributorCode..StringgetEnablePreAuth().StringgetEnvelopePartitionId().UserInformationgetInitialUser()A complex type with the initial user information for the new account.StringgetPaymentMethod().StringgetPaymentProcessor().PaymentProcessorInformationgetPaymentProcessorInformation()Information about the entity that processes payments for the billing plan..PlanInformationgetPlanInformation()An object used to identify the features and attributes of the account being created..StringgetProcessPayment().ReferralInformationgetReferralInformation()A complex type that contains properties for entering referral and discount information..SocialAccountInformationgetSocialAccountInformation()Contains properties that map a DocuSign user to a social account (Facebook, Yahoo, etc.).StringgetTaxExemptId().inthashCode()Returns the HashCode.NewAccountDefinitioninitialUser(UserInformation initialUser)initialUser.NewAccountDefinitionpaymentMethod(String paymentMethod)paymentMethod.NewAccountDefinitionpaymentProcessor(String paymentProcessor)paymentProcessor.NewAccountDefinitionpaymentProcessorInformation(PaymentProcessorInformation paymentProcessorInformation)paymentProcessorInformation.NewAccountDefinitionplanInformation(PlanInformation planInformation)planInformation.NewAccountDefinitionprocessPayment(String processPayment)processPayment.NewAccountDefinitionreferralInformation(ReferralInformation referralInformation)referralInformation.voidsetAccountName(String accountName)setAccountName.voidsetAccountSettings(AccountSettingsInformation accountSettings)setAccountSettings.voidsetAddressInformation(AccountAddress addressInformation)setAddressInformation.voidsetCreditCardInformation(CreditCardInformation creditCardInformation)setCreditCardInformation.voidsetDirectDebitProcessorInformation(DirectDebitProcessorInformation directDebitProcessorInformation)setDirectDebitProcessorInformation.voidsetDistributorCode(String distributorCode)setDistributorCode.voidsetDistributorPassword(String distributorPassword)setDistributorPassword.voidsetEnablePreAuth(String enablePreAuth)setEnablePreAuth.voidsetEnvelopePartitionId(String envelopePartitionId)setEnvelopePartitionId.voidsetInitialUser(UserInformation initialUser)setInitialUser.voidsetPaymentMethod(String paymentMethod)setPaymentMethod.voidsetPaymentProcessor(String paymentProcessor)setPaymentProcessor.voidsetPaymentProcessorInformation(PaymentProcessorInformation paymentProcessorInformation)setPaymentProcessorInformation.voidsetPlanInformation(PlanInformation planInformation)setPlanInformation.voidsetProcessPayment(String processPayment)setProcessPayment.voidsetReferralInformation(ReferralInformation referralInformation)setReferralInformation.voidsetSocialAccountInformation(SocialAccountInformation socialAccountInformation)setSocialAccountInformation.voidsetTaxExemptId(String taxExemptId)setTaxExemptId.NewAccountDefinitionsocialAccountInformation(SocialAccountInformation socialAccountInformation)socialAccountInformation.NewAccountDefinitiontaxExemptId(String taxExemptId)taxExemptId.StringtoString()Converts the given object to string.
-
-
-
Method Detail
-
accountName
public NewAccountDefinition accountName(String accountName)
accountName.- Returns:
- NewAccountDefinition
-
getAccountName
public String getAccountName()
The account name for the new account..- Returns:
- accountName
-
setAccountName
public void setAccountName(String accountName)
setAccountName.
-
accountSettings
public NewAccountDefinition accountSettings(AccountSettingsInformation accountSettings)
accountSettings.- Returns:
- NewAccountDefinition
-
getAccountSettings
public AccountSettingsInformation getAccountSettings()
The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden..- Returns:
- accountSettings
-
setAccountSettings
public void setAccountSettings(AccountSettingsInformation accountSettings)
setAccountSettings.
-
addressInformation
public NewAccountDefinition addressInformation(AccountAddress addressInformation)
addressInformation.- Returns:
- NewAccountDefinition
-
getAddressInformation
public AccountAddress getAddressInformation()
A complex type that contains the following information for the new account: `Street1`, `Street2`, `City`, `State`, `Zip`, `Phone`, and `Fax`..- Returns:
- addressInformation
-
setAddressInformation
public void setAddressInformation(AccountAddress addressInformation)
setAddressInformation.
-
creditCardInformation
public NewAccountDefinition creditCardInformation(CreditCardInformation creditCardInformation)
creditCardInformation.- Returns:
- NewAccountDefinition
-
getCreditCardInformation
public CreditCardInformation getCreditCardInformation()
A complex type that has information about the credit card used to pay for this account..- Returns:
- creditCardInformation
-
setCreditCardInformation
public void setCreditCardInformation(CreditCardInformation creditCardInformation)
setCreditCardInformation.
-
directDebitProcessorInformation
public NewAccountDefinition directDebitProcessorInformation(DirectDebitProcessorInformation directDebitProcessorInformation)
directDebitProcessorInformation.- Returns:
- NewAccountDefinition
-
getDirectDebitProcessorInformation
public DirectDebitProcessorInformation getDirectDebitProcessorInformation()
Information about the bank that processes direct debits for the payment plan..- Returns:
- directDebitProcessorInformation
-
setDirectDebitProcessorInformation
public void setDirectDebitProcessorInformation(DirectDebitProcessorInformation directDebitProcessorInformation)
setDirectDebitProcessorInformation.
-
distributorCode
public NewAccountDefinition distributorCode(String distributorCode)
distributorCode.- Returns:
- NewAccountDefinition
-
getDistributorCode
public String getDistributorCode()
The code that identifies the billing plan groups and plans for the new account..- Returns:
- distributorCode
-
setDistributorCode
public void setDistributorCode(String distributorCode)
setDistributorCode.
-
distributorPassword
public NewAccountDefinition distributorPassword(String distributorPassword)
distributorPassword.- Returns:
- NewAccountDefinition
-
getDistributorPassword
public String getDistributorPassword()
The password for the distributorCode..- Returns:
- distributorPassword
-
setDistributorPassword
public void setDistributorPassword(String distributorPassword)
setDistributorPassword.
-
enablePreAuth
public NewAccountDefinition enablePreAuth(String enablePreAuth)
enablePreAuth.- Returns:
- NewAccountDefinition
-
getEnablePreAuth
public String getEnablePreAuth()
.- Returns:
- enablePreAuth
-
setEnablePreAuth
public void setEnablePreAuth(String enablePreAuth)
setEnablePreAuth.
-
envelopePartitionId
public NewAccountDefinition envelopePartitionId(String envelopePartitionId)
envelopePartitionId.- Returns:
- NewAccountDefinition
-
getEnvelopePartitionId
public String getEnvelopePartitionId()
.- Returns:
- envelopePartitionId
-
setEnvelopePartitionId
public void setEnvelopePartitionId(String envelopePartitionId)
setEnvelopePartitionId.
-
initialUser
public NewAccountDefinition initialUser(UserInformation initialUser)
initialUser.- Returns:
- NewAccountDefinition
-
getInitialUser
public UserInformation getInitialUser()
A complex type with the initial user information for the new account. Note that some user information is set internally based on the plan and cannot be overridden..- Returns:
- initialUser
-
setInitialUser
public void setInitialUser(UserInformation initialUser)
setInitialUser.
-
paymentMethod
public NewAccountDefinition paymentMethod(String paymentMethod)
paymentMethod.- Returns:
- NewAccountDefinition
-
getPaymentMethod
public String getPaymentMethod()
.- Returns:
- paymentMethod
-
setPaymentMethod
public void setPaymentMethod(String paymentMethod)
setPaymentMethod.
-
paymentProcessor
public NewAccountDefinition paymentProcessor(String paymentProcessor)
paymentProcessor.- Returns:
- NewAccountDefinition
-
getPaymentProcessor
public String getPaymentProcessor()
.- Returns:
- paymentProcessor
-
setPaymentProcessor
public void setPaymentProcessor(String paymentProcessor)
setPaymentProcessor.
-
paymentProcessorInformation
public NewAccountDefinition paymentProcessorInformation(PaymentProcessorInformation paymentProcessorInformation)
paymentProcessorInformation.- Returns:
- NewAccountDefinition
-
getPaymentProcessorInformation
public PaymentProcessorInformation getPaymentProcessorInformation()
Information about the entity that processes payments for the billing plan..- Returns:
- paymentProcessorInformation
-
setPaymentProcessorInformation
public void setPaymentProcessorInformation(PaymentProcessorInformation paymentProcessorInformation)
setPaymentProcessorInformation.
-
planInformation
public NewAccountDefinition planInformation(PlanInformation planInformation)
planInformation.- Returns:
- NewAccountDefinition
-
getPlanInformation
public PlanInformation getPlanInformation()
An object used to identify the features and attributes of the account being created..- Returns:
- planInformation
-
setPlanInformation
public void setPlanInformation(PlanInformation planInformation)
setPlanInformation.
-
processPayment
public NewAccountDefinition processPayment(String processPayment)
processPayment.- Returns:
- NewAccountDefinition
-
getProcessPayment
public String getProcessPayment()
.- Returns:
- processPayment
-
setProcessPayment
public void setProcessPayment(String processPayment)
setProcessPayment.
-
referralInformation
public NewAccountDefinition referralInformation(ReferralInformation referralInformation)
referralInformation.- Returns:
- NewAccountDefinition
-
getReferralInformation
public ReferralInformation getReferralInformation()
A complex type that contains properties for entering referral and discount information..- Returns:
- referralInformation
-
setReferralInformation
public void setReferralInformation(ReferralInformation referralInformation)
setReferralInformation.
-
socialAccountInformation
public NewAccountDefinition socialAccountInformation(SocialAccountInformation socialAccountInformation)
socialAccountInformation.- Returns:
- NewAccountDefinition
-
getSocialAccountInformation
public SocialAccountInformation getSocialAccountInformation()
Contains properties that map a DocuSign user to a social account (Facebook, Yahoo, etc.).- Returns:
- socialAccountInformation
-
setSocialAccountInformation
public void setSocialAccountInformation(SocialAccountInformation socialAccountInformation)
setSocialAccountInformation.
-
taxExemptId
public NewAccountDefinition taxExemptId(String taxExemptId)
taxExemptId.- Returns:
- NewAccountDefinition
-
getTaxExemptId
public String getTaxExemptId()
.- Returns:
- taxExemptId
-
setTaxExemptId
public void setTaxExemptId(String taxExemptId)
setTaxExemptId.
-
equals
public boolean equals(Object o)
Compares objects.
-
-