Documentation ¶
Index ¶
- type BankCardInfo
- type ChangeEnterpriseRealNameAuthOpts
- type ChangeEnterpriseRealNameAuthOptsBuilder
- type ChangeEnterpriseRealNameAuthResp
- type ChangeEnterpriseRealNameAuthResult
- type EnterprisePerson
- type EnterpriseRealNameAuthOpts
- type EnterpriseRealNameAuthOptsBuilder
- type EnterpriseRealNameAuthResp
- type EnterpriseRealNameAuthResult
- type IndividualRealNameAuthOpts
- type IndividualRealNameAuthOptsBuilder
- type IndividualRealNameAuthResp
- type IndividualRealNameAuthResult
- type QueryRealNameAuthOpts
- type QueryRealNameAuthOptsBuilder
- type QueryRealNameAuthResp
- type QueryRealNameAuthResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BankCardInfo ¶
type BankCardInfo struct { //Bank account BankAccount string `json:"bankAccount" required:"true"` //area code Areacode string `json:"areacode" required:"true"` //mobile phone number Mobile string `json:"mobile" required:"true"` //Verification code. VerificationCode string `json:"verificationCode" required:"true"` }
type ChangeEnterpriseRealNameAuthOpts ¶
type ChangeEnterpriseRealNameAuthOpts struct { //Customer ID. CustomerId string `json:"customerId" required:"true"` //Authentication method. IdentifyType *int `json:"identifyType" required:"true"` //Enterprise certificate type. CertificateType int `json:"certificateType,omitempty"` //URL of the certificate attachment file used for enterprise certificate authentication. VerifiedFileURL []string `json:"verifiedFileURL" required:"true"` //Organization name. CorpName string `json:"corpName" required:"true"` //Enterprise certificate number. VerifiedNumber string `json:"verifiedNumber" required:"true"` //Registration country entered for real-name authentication. RegCountry string `json:"regCountry,omitempty"` //Enterprise registration address for real-name authentication. RegAddress string `json:"regAddress,omitempty"` //Change type ChangeType *int `json:"changeType" required:"true"` //Platform ID assigned by Huawei to a partner. XaccountType string `json:"xaccountType" required:"true"` //Enterprise person information. EnterprisePerson EnterprisePerson `json:"enterprisePerson,omitempty"` }
func (ChangeEnterpriseRealNameAuthOpts) ToChangeEnterpriseRealNameAuthMap ¶
func (opts ChangeEnterpriseRealNameAuthOpts) ToChangeEnterpriseRealNameAuthMap() (map[string]interface{}, error)
type ChangeEnterpriseRealNameAuthResult ¶
type ChangeEnterpriseRealNameAuthResult struct {
gophercloud.Result
}
func ChangeEnterpriseRealNameAuth ¶
func ChangeEnterpriseRealNameAuth(client *gophercloud.ServiceClient, opts ChangeEnterpriseRealNameAuthOptsBuilder) (r ChangeEnterpriseRealNameAuthResult)
*
- Customers can submit real-name authentication change applications on the partner sales platform. Currently, customers can change real-name authentication using individual information to using enterprise information.
- This API can be invoked only by the partner account AK/SK or token
func (ChangeEnterpriseRealNameAuthResult) Extract ¶
func (r ChangeEnterpriseRealNameAuthResult) Extract() (*ChangeEnterpriseRealNameAuthResp, error)
type EnterprisePerson ¶
type EnterpriseRealNameAuthOpts ¶
type EnterpriseRealNameAuthOpts struct { //Customer ID. CustomerId string `json:"customerId" required:"true"` //Authentication method. IdentifyType *int `json:"identifyType" required:"true"` //Enterprise certificate type. CertificateType int `json:"certificateType,omitempty"` //URL of the certificate attachment file used for enterprise certificate authentication. VerifiedFileURL []string `json:"verifiedFileURL" required:"true"` //Organization name. CorpName string `json:"corpName" required:"true"` //Enterprise certificate number. VerifiedNumber string `json:"verifiedNumber" required:"true"` //Registration country entered for real-name authentication. RegCountry string `json:"regCountry,omitempty"` //Enterprise registration address for real-name authentication. RegAddress string `json:"regAddress,omitempty"` //Platform ID assigned by Huawei to a partner.。 XaccountType string `json:"xaccountType" required:"true"` //Enterprise person information. EnterprisePerson EnterprisePerson `json:"enterprisePerson,omitempty"` }
func (EnterpriseRealNameAuthOpts) ToEnterpriseRealNameAuthMap ¶
func (opts EnterpriseRealNameAuthOpts) ToEnterpriseRealNameAuthMap() (map[string]interface{}, error)
type EnterpriseRealNameAuthResult ¶
type EnterpriseRealNameAuthResult struct {
gophercloud.Result
}
func EnterpriseRealNameAuth ¶
func EnterpriseRealNameAuth(client *gophercloud.ServiceClient, opts EnterpriseRealNameAuthOptsBuilder) (r EnterpriseRealNameAuthResult)
*
- Enterprise customers can perform enterprise real-name authentication on the partner sales platform.
- This API can be invoked only by the partner account AK/SK or token.
func (EnterpriseRealNameAuthResult) Extract ¶
func (r EnterpriseRealNameAuthResult) Extract() (*EnterpriseRealNameAuthResp, error)
type IndividualRealNameAuthOpts ¶
type IndividualRealNameAuthOpts struct { //Customer ID. CustomerId string `json:"customerId" required:"true"` //Authentication method. IdentifyType *int `json:"identifyType" required:"true"` //Certificate type. VerifiedType int `json:"verifiedType,omitempty"` //Attachment URL for individual certificate authentication. VerifiedFileURL []string `json:"verifiedFileURL" required:"true"` //Name. Name string `json:"name" required:"true"` //Certificate number. VerifiedNumber string `json:"verifiedNumber" required:"true"` //Change type. ChangeType int `json:"changeType,omitempty"` //Platform ID assigned by Huawei to a partner. XaccountType string `json:"xaccountType" required:"true"` //bank card information BankCardInfo BankCardInfo `json:"bankCardInfo,omitempty"` }
func (IndividualRealNameAuthOpts) ToIndividualRealNameAuthMap ¶
func (opts IndividualRealNameAuthOpts) ToIndividualRealNameAuthMap() (map[string]interface{}, error)
type IndividualRealNameAuthResult ¶
type IndividualRealNameAuthResult struct {
gophercloud.Result
}
func IndividualRealNameAuth ¶
func IndividualRealNameAuth(client *gophercloud.ServiceClient, opts IndividualRealNameAuthOptsBuilder) (r IndividualRealNameAuthResult)
*
- An individual customer can apply for real-name authentication on the partner sales platform. Currently, two authentication methods are supported: using the individual certificate and using individual bank card.
- This API can be invoked only by the partner account AK/SK or token.ken.
func (IndividualRealNameAuthResult) Extract ¶
func (r IndividualRealNameAuthResult) Extract() (*IndividualRealNameAuthResp, error)
type QueryRealNameAuthOpts ¶
type QueryRealNameAuthOpts struct { //Customer ID. CustomerId string `q:"customerId" required:"true"` }
func (QueryRealNameAuthOpts) ToQueryRealNameAuthMap ¶
func (opts QueryRealNameAuthOpts) ToQueryRealNameAuthMap() (string, error)
type QueryRealNameAuthResp ¶
type QueryRealNameAuthResult ¶
type QueryRealNameAuthResult struct {
gophercloud.Result
}
func QueryRealNameAuth ¶
func QueryRealNameAuth(client *gophercloud.ServiceClient, opts QueryRealNameAuthOptsBuilder) (r QueryRealNameAuthResult)
*
- If the response to a real-name authentication application or real-name authentication change application indicates that manual review is required, this API can be used to query the review result.
- This API can be invoked only by the partner account AK/SK or token.
func (QueryRealNameAuthResult) Extract ¶
func (r QueryRealNameAuthResult) Extract() (*QueryRealNameAuthResp, error)
Click to show internal directories.
Click to hide internal directories.