PHP Class Stripe\Request\Accounts\CreateAccountRequest

Mostra file Open project: jlinn/stripe-api-php Class Usage Examples

Protected Properties

Property Type Description
$bankAccount Stripe\Request\Accounts\BankAccountRequest
$businessLogo string
$businessName string
$businessPrimaryColor string
$businessUrl string
$country string
$debitNegativeBalances boolean
$declineChargeOn CreateDeclineChargeRequest
$defaultCurrency string
$email string
$externalAccount CreateExternalAccountRequest
$legalEntity Stripe\Request\LegalEntity\CreateLegalEntityRequest
$managed boolean
$metadata array
$productDescription string
$statementDescriptor string
$supportEmail string
$supportPhone string
$supportUrl string
$tosAcceptance CreateTOSAcceptance
$transferSchedule CreateTransferScheduleRequest

Public Methods

Method Description
getBankAccount ( ) : Stripe\Request\Accounts\BankAccountRequest
getBusinessLogo ( ) : string
getBusinessName ( ) : string
getBusinessPrimaryColor ( ) : string
getBusinessUrl ( ) : string
getCountry ( ) : string
getDeclineChargeOn ( ) : CreateDeclineChargeRequest
getDefaultCurrency ( ) : string
getEmail ( ) : string
getExternalAccount ( ) : CreateExternalAccountRequest
getLegalEntity ( ) : CreateLegalEntityRequest
getMetadata ( ) : array
getProductDescription ( ) : string
getStatementDescriptor ( ) : string
getSupportEmail ( ) : string
getSupportPhone ( ) : string
getSupportUrl ( ) : string
getTosAcceptance ( ) : CreateTOSAcceptance
getTransferSchedule ( ) : CreateTransferScheduleRequest
isDebitNegativeBalances ( ) : boolean
isManaged ( ) : boolean
setBankAccount ( Stripe\Request\Accounts\BankAccountRequest $bankAccount ) : CreateAccountRequest
setBusinessLogo ( string $businessLogo ) : CreateAccountRequest
setBusinessName ( string $businessName ) : CreateAccountRequest
setBusinessPrimaryColor ( string $businessPrimaryColor ) : CreateAccountRequest
setBusinessUrl ( string $businessUrl ) : CreateAccountRequest
setCountry ( string $country )
setDebitNegativeBalances ( boolean $debitNegativeBalances ) : CreateAccountRequest
setDeclineChargeOn ( CreateDeclineChargeRequest $declineChargeOn ) : CreateAccountRequest
setDefaultCurrency ( string $defaultCurrency ) : CreateAccountRequest
setEmail ( string $email )
setExternalAccount ( CreateExternalAccountRequest $externalAccount ) : CreateAccountRequest
setLegalEntity ( CreateLegalEntityRequest $legalEntity ) : CreateAccountRequest
setManaged ( boolean $managed )
setMetadata ( array $metadata ) : CreateAccountRequest
setProductDescription ( string $productDescription ) : CreateAccountRequest
setStatementDescriptor ( string $statementDescriptor ) : CreateAccountRequest
setSupportEmail ( string $supportEmail ) : CreateAccountRequest
setSupportPhone ( string $supportPhone ) : CreateAccountRequest
setSupportUrl ( string $supportUrl ) : CreateAccountRequest
setTosAcceptance ( CreateTOSAcceptance $tosAcceptance ) : CreateAccountRequest
setTransferSchedule ( CreateTransferScheduleRequest $transferSchedule ) : CreateAccountRequest

Method Details

getBankAccount() public method

public getBankAccount ( ) : Stripe\Request\Accounts\BankAccountRequest
return Stripe\Request\Accounts\BankAccountRequest

getBusinessName() public method

public getBusinessName ( ) : string
return string

getBusinessPrimaryColor() public method

public getBusinessPrimaryColor ( ) : string
return string

getBusinessUrl() public method

public getBusinessUrl ( ) : string
return string

getCountry() public method

public getCountry ( ) : string
return string

getDeclineChargeOn() public method

public getDeclineChargeOn ( ) : CreateDeclineChargeRequest
return CreateDeclineChargeRequest

getDefaultCurrency() public method

public getDefaultCurrency ( ) : string
return string

getEmail() public method

public getEmail ( ) : string
return string

getExternalAccount() public method

public getExternalAccount ( ) : CreateExternalAccountRequest
return CreateExternalAccountRequest

getLegalEntity() public method

public getLegalEntity ( ) : CreateLegalEntityRequest
return Stripe\Request\LegalEntity\CreateLegalEntityRequest

getMetadata() public method

public getMetadata ( ) : array
return array

getProductDescription() public method

public getProductDescription ( ) : string
return string

getStatementDescriptor() public method

public getStatementDescriptor ( ) : string
return string

getSupportEmail() public method

public getSupportEmail ( ) : string
return string

getSupportPhone() public method

public getSupportPhone ( ) : string
return string

getSupportUrl() public method

public getSupportUrl ( ) : string
return string

getTosAcceptance() public method

public getTosAcceptance ( ) : CreateTOSAcceptance
return CreateTOSAcceptance

getTransferSchedule() public method

public getTransferSchedule ( ) : CreateTransferScheduleRequest
return CreateTransferScheduleRequest

isDebitNegativeBalances() public method

isManaged() public method

public isManaged ( ) : boolean
return boolean

setBankAccount() public method

Deprecation: API calls are being changed to external accounts
public setBankAccount ( Stripe\Request\Accounts\BankAccountRequest $bankAccount ) : CreateAccountRequest
$bankAccount Stripe\Request\Accounts\BankAccountRequest
return CreateAccountRequest

setBusinessName() public method

public setBusinessName ( string $businessName ) : CreateAccountRequest
$businessName string
return CreateAccountRequest

setBusinessPrimaryColor() public method

public setBusinessPrimaryColor ( string $businessPrimaryColor ) : CreateAccountRequest
$businessPrimaryColor string
return CreateAccountRequest

setBusinessUrl() public method

public setBusinessUrl ( string $businessUrl ) : CreateAccountRequest
$businessUrl string
return CreateAccountRequest

setCountry() public method

public setCountry ( string $country )
$country string

setDebitNegativeBalances() public method

public setDebitNegativeBalances ( boolean $debitNegativeBalances ) : CreateAccountRequest
$debitNegativeBalances boolean
return CreateAccountRequest

setDeclineChargeOn() public method

public setDeclineChargeOn ( CreateDeclineChargeRequest $declineChargeOn ) : CreateAccountRequest
$declineChargeOn CreateDeclineChargeRequest
return CreateAccountRequest

setDefaultCurrency() public method

public setDefaultCurrency ( string $defaultCurrency ) : CreateAccountRequest
$defaultCurrency string
return CreateAccountRequest

setEmail() public method

public setEmail ( string $email )
$email string

setExternalAccount() public method

public setExternalAccount ( CreateExternalAccountRequest $externalAccount ) : CreateAccountRequest
$externalAccount CreateExternalAccountRequest
return CreateAccountRequest

setLegalEntity() public method

public setLegalEntity ( CreateLegalEntityRequest $legalEntity ) : CreateAccountRequest
$legalEntity Stripe\Request\LegalEntity\CreateLegalEntityRequest
return CreateAccountRequest

setManaged() public method

public setManaged ( boolean $managed )
$managed boolean

setMetadata() public method

public setMetadata ( array $metadata ) : CreateAccountRequest
$metadata array
return CreateAccountRequest

setProductDescription() public method

public setProductDescription ( string $productDescription ) : CreateAccountRequest
$productDescription string
return CreateAccountRequest

setStatementDescriptor() public method

public setStatementDescriptor ( string $statementDescriptor ) : CreateAccountRequest
$statementDescriptor string
return CreateAccountRequest

setSupportEmail() public method

public setSupportEmail ( string $supportEmail ) : CreateAccountRequest
$supportEmail string
return CreateAccountRequest

setSupportPhone() public method

public setSupportPhone ( string $supportPhone ) : CreateAccountRequest
$supportPhone string
return CreateAccountRequest

setSupportUrl() public method

public setSupportUrl ( string $supportUrl ) : CreateAccountRequest
$supportUrl string
return CreateAccountRequest

setTosAcceptance() public method

public setTosAcceptance ( CreateTOSAcceptance $tosAcceptance ) : CreateAccountRequest
$tosAcceptance CreateTOSAcceptance
return CreateAccountRequest

setTransferSchedule() public method

public setTransferSchedule ( CreateTransferScheduleRequest $transferSchedule ) : CreateAccountRequest
$transferSchedule CreateTransferScheduleRequest
return CreateAccountRequest

Property Details

$bankAccount protected_oe property

Deprecation: Use external accounts instead of bank account. Changed in API.
protected BankAccountRequest,Stripe\Request\Accounts $bankAccount
return Stripe\Request\Accounts\BankAccountRequest

$businessName protected_oe property

protected string $businessName
return string

$businessPrimaryColor protected_oe property

protected string $businessPrimaryColor
return string

$businessUrl protected_oe property

protected string $businessUrl
return string

$country protected_oe property

protected string $country
return string

$debitNegativeBalances protected_oe property

protected bool $debitNegativeBalances
return boolean

$declineChargeOn protected_oe property

protected CreateDeclineChargeRequest,Stripe\Request\Accounts $declineChargeOn
return CreateDeclineChargeRequest

$defaultCurrency protected_oe property

protected string $defaultCurrency
return string

$email protected_oe property

protected string $email
return string

$externalAccount protected_oe property

protected CreateExternalAccountRequest,Stripe\Request\Accounts $externalAccount
return CreateExternalAccountRequest

$legalEntity protected_oe property

protected CreateLegalEntityRequest,Stripe\Request\LegalEntity $legalEntity
return Stripe\Request\LegalEntity\CreateLegalEntityRequest

$managed protected_oe property

protected bool $managed
return boolean

$metadata protected_oe property

protected array $metadata
return array

$productDescription protected_oe property

protected string $productDescription
return string

$statementDescriptor protected_oe property

protected string $statementDescriptor
return string

$supportEmail protected_oe property

protected string $supportEmail
return string

$supportPhone protected_oe property

protected string $supportPhone
return string

$supportUrl protected_oe property

protected string $supportUrl
return string

$tosAcceptance protected_oe property

protected CreateTOSAcceptance,Stripe\Request\Accounts $tosAcceptance
return CreateTOSAcceptance

$transferSchedule protected_oe property

protected CreateTransferScheduleRequest,Stripe\Request\Accounts $transferSchedule
return CreateTransferScheduleRequest