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 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | public class Cardholder { /** * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Accepted values: * Y -> Shipping Address matches Billing Address * N -> Shipping Address does not match Billing Address * * If the field is not set and the shipping and billing addresses are the same, the 3DS Server will set the value to * Y. Otherwise, the value will not be changed. * * This field is optional. */ private AddressMatchIndicatorEnum addrMatch; /** * The city of the Cardholder billing address associated with the card used for this purchase. This field is limited * to maximum of 50 characters. * * This field is required unless market or regional mandate restricts sending this information. */ private String billAddrCity; /** * The country of the Cardholder billing address associated with the card used for this purchase. * This field is limited to 3 characters. This value shall be the ISO 3166-1 numeric country code, except values * from range 901 - 999 which are reserved by ISO. * * The field is required if Cardholder Billing Address State is present and unless market or regional mandate * restricts sending this information. */ private String billAddrCountry; /** * First line of the street address or equivalent local portion of the Cardholder billing address associated with * the card use for this purchase. This field is limited to maximum 50 characters. * * This field is required unless market or regional mandate restricts sending this information. */ private String billAddrLine1; /** * Second line of the street address or equivalent local portion of the Cardholder billing address associated with * the card use for this purchase. This field is limited to maximum 50 characters. * * This field is required unless market or regional mandate restricts sending this information. */ private String billAddrLine2; /** * Third line of the street address or equivalent local portion of the Cardholder billing address associated with * the card use for this purchase. This field is limited to maximum 50 characters. * * This field is required unless market or regional mandate restricts sending this information. */ private String billAddrLine3; /** * ZIP or other postal code of the Cardholder billing address associated with the card used for this purchase. * This field is limited to maximum 16 characters. * * This field is required unless market or regional mandate restricts sending this information. */ private String billAddrPostCode; /** * The state or province of the Cardholder billing address associated with the card used for this purchase. * This field is limited to 3 characters. The value should be the country subtivision code defined in ISO 3166-2. * * This field is required unless State is not applicable for this country and unless market or regional mandate * restricts sending this information. */ private String billAddrState; /** * The email address associated with the account that is either entered by the Cardholder, or is on file with * the 3DS Requestor. This field is limited to maximum 256 characters and shall meet requirements of Section 3.4 of * IETF RFC 5322. * * This field is required unless market or regional mandate restricts sending this information. */ private String email; /** * The home phone provided by the Cardholder. The object contains the following fields: * cc -> Country Code of the phone, limited to 1-3 characters * subscriber -> subscriber section of the number, limited to maximum 15 characters. * * Refer to ITU-E.164 for additional information on format and length. * * This field is required if available, unless market or regional mandate restricts sending this information. */ private CardholderPhoneNumber homePhone; /** * The mobile phone provided by the Cardholder. The object contains the following fields: * cc -> Country Code of the phone, limited to 1-3 characters * subscriber -> subscriber section of the number, limited to maximum 15 characters. * * Refer to ITU-E.164 for additional information on format and length. * * This field is required if available, unless market or regional mandate restricts sending this information. */ private CardholderPhoneNumber mobilePhone; /** * The work phone provided by the Cardholder. The object contains the following fields: * cc -> Country Code of the phone, limited to 1-3 characters * subscriber -> subscriber section of the number, limited to maximum 15 characters. * * Refer to ITU-E.164 for additional information on format and length. * * * This field is required if available, unless market or regional mandate restricts sending this information. */ private CardholderPhoneNumber workPhone; /** * Name of the Cardholder. This field is limited to maximum of 45 characters. * * This field is required unless market or regional mandate restricts sending this information. */ private String cardholderName; /** * City portion of the shipping address requested by the Cardholder. * * This field is required unless shipping information is the same as billing information, or market or regional * mandate restricts sending this information. */ private String shipAddrCity; /** * Country of the shipping address requested by the Cardholder. This field is limited to 3 characters. This value * shall be the ISO 3166-1 numeric country code, except values from range 901 - 999 which are reserved by ISO. * * This field is required if Cardholder Shipping Address State is present and if shipping information are not the same * as billing information. This field can be omitted if market or regional mandate restricts sending this information. */ private String shipAddrCountry; /** * First line of the street address or equivalent local portion of the shipping address associated with * the card use for this purchase. This field is limited to maximum 50 characters. * * This field is required unless shipping information is the same as billing information, or market or regional * mandate restricts sending this information. */ private String shipAddrLine1; /** * Second line of the street address or equivalent local portion of the shipping address associated with * the card use for this purchase. This field is limited to maximum 50 characters. * * This field is required unless shipping information is the same as billing information, or market or regional * mandate restricts sending this information. */ private String shipAddrLine2; /** * Third line of the street address or equivalent local portion of the shipping address associated with * the card use for this purchase. This field is limited to maximum 50 characters. * * This field is required unless shipping information is the same as billing information, or market or regional * mandate restricts sending this information. */ private String shipAddrLine3; /** * ZIP or other postal code of the shipping address associated with the card used for this purchase. * This field is limited to maximum 16 characters. * * This field is required unless shipping information is the same as billing information, or market or regional * mandate restricts sending this information. */ private String shipAddrPostCode; /** * The state or province of the shipping address associated with the card used for this purchase. * This field is limited to 3 characters. The value should be the country subdivision code defined in ISO 3166-2. * * This field is required unless shipping information is the same as billing information, or State is not applicable * for this country, or market or regional mandate restricts sending this information. */ private String shipAddrState; } |