-
Notifications
You must be signed in to change notification settings - Fork 82
/
verify_address_details.go
114 lines (81 loc) · 3.4 KB
/
verify_address_details.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.
// OSP Gateway API
//
// This site describes all the Rest endpoints of OSP Gateway.
//
package ospgateway
import (
"fmt"
"github.com/oracle/oci-go-sdk/v65/common"
"strings"
)
// VerifyAddressDetails Verify address related details
type VerifyAddressDetails struct {
// Address identifier.
AddressKey *string `mandatory:"false" json:"addressKey"`
// Address line 1.
Line1 *string `mandatory:"false" json:"line1"`
// Address line 2.
Line2 *string `mandatory:"false" json:"line2"`
// Address line 3.
Line3 *string `mandatory:"false" json:"line3"`
// Address line 4.
Line4 *string `mandatory:"false" json:"line4"`
// Street name of the address.
StreetName *string `mandatory:"false" json:"streetName"`
// Street number of the address.
StreetNumber *string `mandatory:"false" json:"streetNumber"`
// Name of the city.
City *string `mandatory:"false" json:"city"`
// County of the address.
County *string `mandatory:"false" json:"county"`
// Country of the address.
Country *string `mandatory:"false" json:"country"`
// Province of the address.
Province *string `mandatory:"false" json:"province"`
// Post code of the address.
PostalCode *string `mandatory:"false" json:"postalCode"`
// State of the address.
State *string `mandatory:"false" json:"state"`
// Contact person email address.
EmailAddress *string `mandatory:"false" json:"emailAddress"`
// Name of the customer company.
CompanyName *string `mandatory:"false" json:"companyName"`
// First name of the contact person.
FirstName *string `mandatory:"false" json:"firstName"`
// Middle name of the contact person.
MiddleName *string `mandatory:"false" json:"middleName"`
// Last name of the contact person.
LastName *string `mandatory:"false" json:"lastName"`
// Phone country code of the contact person.
PhoneCountryCode *string `mandatory:"false" json:"phoneCountryCode"`
// Phone number of the contact person.
PhoneNumber *string `mandatory:"false" json:"phoneNumber"`
// Job title of the contact person.
JobTitle *string `mandatory:"false" json:"jobTitle"`
// Department name of the customer company.
DepartmentName *string `mandatory:"false" json:"departmentName"`
// Internal number of the customer company.
InternalNumber *string `mandatory:"false" json:"internalNumber"`
// Contributor class of the customer company.
ContributorClass *string `mandatory:"false" json:"contributorClass"`
// State Inscription.
StateInscription *string `mandatory:"false" json:"stateInscription"`
// Municipal Inscription.
MunicipalInscription *string `mandatory:"false" json:"municipalInscription"`
}
func (m VerifyAddressDetails) String() string {
return common.PointerString(m)
}
// ValidateEnumValue returns an error when providing an unsupported enum value
// This function is being called during constructing API request process
// Not recommended for calling this function directly
func (m VerifyAddressDetails) ValidateEnumValue() (bool, error) {
errMessage := []string{}
if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
}
return false, nil
}