Documentation ¶
Index ¶
- 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 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)
*
- The customer applies for a real-name certification change on the partner sales platform. Currently, it supports personal transfer to enterprise changes.
- The api is only allowed to be called with the partner 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"` }
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.