1919
2020/** PayByBankPlaidInfo */
2121@ JsonPropertyOrder ({
22- PayByBankPlaidInfo .JSON_PROPERTY_LOGO ,
23- PayByBankPlaidInfo .JSON_PROPERTY_TRANSACTION_DESCRIPTION
22+ PayByBankPlaidInfo .JSON_PROPERTY_COUNTRY_CODE ,
23+ PayByBankPlaidInfo .JSON_PROPERTY_LOGO ,
24+ PayByBankPlaidInfo .JSON_PROPERTY_MERCHANT_CITY ,
25+ PayByBankPlaidInfo .JSON_PROPERTY_MERCHANT_LEGAL_NAME ,
26+ PayByBankPlaidInfo .JSON_PROPERTY_MERCHANT_SHOP_URL ,
27+ PayByBankPlaidInfo .JSON_PROPERTY_MERCHANT_STATE_PROVINCE ,
28+ PayByBankPlaidInfo .JSON_PROPERTY_MERCHANT_STREET_ADDRESS ,
29+ PayByBankPlaidInfo .JSON_PROPERTY_TRANSACTION_DESCRIPTION ,
30+ PayByBankPlaidInfo .JSON_PROPERTY_ZIP_CODE
2431})
2532public class PayByBankPlaidInfo {
33+ public static final String JSON_PROPERTY_COUNTRY_CODE = "countryCode" ;
34+ private String countryCode ;
35+
2636 public static final String JSON_PROPERTY_LOGO = "logo" ;
2737 private String logo ;
2838
39+ public static final String JSON_PROPERTY_MERCHANT_CITY = "merchantCity" ;
40+ private String merchantCity ;
41+
42+ public static final String JSON_PROPERTY_MERCHANT_LEGAL_NAME = "merchantLegalName" ;
43+ private String merchantLegalName ;
44+
45+ public static final String JSON_PROPERTY_MERCHANT_SHOP_URL = "merchantShopUrl" ;
46+ private String merchantShopUrl ;
47+
48+ public static final String JSON_PROPERTY_MERCHANT_STATE_PROVINCE = "merchantStateProvince" ;
49+ private String merchantStateProvince ;
50+
51+ public static final String JSON_PROPERTY_MERCHANT_STREET_ADDRESS = "merchantStreetAddress" ;
52+ private String merchantStreetAddress ;
53+
2954 public static final String JSON_PROPERTY_TRANSACTION_DESCRIPTION = "transactionDescription" ;
3055 private TransactionDescriptionInfo transactionDescription ;
3156
57+ public static final String JSON_PROPERTY_ZIP_CODE = "zipCode" ;
58+ private String zipCode ;
59+
3260 public PayByBankPlaidInfo () {}
3361
62+ /**
63+ * Country Code.
64+ *
65+ * @param countryCode Country Code.
66+ * @return the current {@code PayByBankPlaidInfo} instance, allowing for method chaining
67+ */
68+ public PayByBankPlaidInfo countryCode (String countryCode ) {
69+ this .countryCode = countryCode ;
70+ return this ;
71+ }
72+
73+ /**
74+ * Country Code.
75+ *
76+ * @return countryCode Country Code.
77+ */
78+ @ JsonProperty (JSON_PROPERTY_COUNTRY_CODE )
79+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
80+ public String getCountryCode () {
81+ return countryCode ;
82+ }
83+
84+ /**
85+ * Country Code.
86+ *
87+ * @param countryCode Country Code.
88+ */
89+ @ JsonProperty (JSON_PROPERTY_COUNTRY_CODE )
90+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
91+ public void setCountryCode (String countryCode ) {
92+ this .countryCode = countryCode ;
93+ }
94+
3495 /**
3596 * Merchant logo (max. size 150kB). Format: Base64-encoded string.
3697 *
@@ -64,14 +125,179 @@ public void setLogo(String logo) {
64125 this .logo = logo ;
65126 }
66127
128+ /**
129+ * The city the merchant is doing business in.
130+ *
131+ * @param merchantCity The city the merchant is doing business in.
132+ * @return the current {@code PayByBankPlaidInfo} instance, allowing for method chaining
133+ */
134+ public PayByBankPlaidInfo merchantCity (String merchantCity ) {
135+ this .merchantCity = merchantCity ;
136+ return this ;
137+ }
138+
139+ /**
140+ * The city the merchant is doing business in.
141+ *
142+ * @return merchantCity The city the merchant is doing business in.
143+ */
144+ @ JsonProperty (JSON_PROPERTY_MERCHANT_CITY )
145+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
146+ public String getMerchantCity () {
147+ return merchantCity ;
148+ }
149+
150+ /**
151+ * The city the merchant is doing business in.
152+ *
153+ * @param merchantCity The city the merchant is doing business in.
154+ */
155+ @ JsonProperty (JSON_PROPERTY_MERCHANT_CITY )
156+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
157+ public void setMerchantCity (String merchantCity ) {
158+ this .merchantCity = merchantCity ;
159+ }
160+
161+ /**
162+ * Legal Business Name of the Merchant.
163+ *
164+ * @param merchantLegalName Legal Business Name of the Merchant.
165+ * @return the current {@code PayByBankPlaidInfo} instance, allowing for method chaining
166+ */
167+ public PayByBankPlaidInfo merchantLegalName (String merchantLegalName ) {
168+ this .merchantLegalName = merchantLegalName ;
169+ return this ;
170+ }
171+
172+ /**
173+ * Legal Business Name of the Merchant.
174+ *
175+ * @return merchantLegalName Legal Business Name of the Merchant.
176+ */
177+ @ JsonProperty (JSON_PROPERTY_MERCHANT_LEGAL_NAME )
178+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
179+ public String getMerchantLegalName () {
180+ return merchantLegalName ;
181+ }
182+
183+ /**
184+ * Legal Business Name of the Merchant.
185+ *
186+ * @param merchantLegalName Legal Business Name of the Merchant.
187+ */
188+ @ JsonProperty (JSON_PROPERTY_MERCHANT_LEGAL_NAME )
189+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
190+ public void setMerchantLegalName (String merchantLegalName ) {
191+ this .merchantLegalName = merchantLegalName ;
192+ }
193+
194+ /**
195+ * Merchant shop url.
196+ *
197+ * @param merchantShopUrl Merchant shop url.
198+ * @return the current {@code PayByBankPlaidInfo} instance, allowing for method chaining
199+ */
200+ public PayByBankPlaidInfo merchantShopUrl (String merchantShopUrl ) {
201+ this .merchantShopUrl = merchantShopUrl ;
202+ return this ;
203+ }
204+
205+ /**
206+ * Merchant shop url.
207+ *
208+ * @return merchantShopUrl Merchant shop url.
209+ */
210+ @ JsonProperty (JSON_PROPERTY_MERCHANT_SHOP_URL )
211+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
212+ public String getMerchantShopUrl () {
213+ return merchantShopUrl ;
214+ }
215+
216+ /**
217+ * Merchant shop url.
218+ *
219+ * @param merchantShopUrl Merchant shop url.
220+ */
221+ @ JsonProperty (JSON_PROPERTY_MERCHANT_SHOP_URL )
222+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
223+ public void setMerchantShopUrl (String merchantShopUrl ) {
224+ this .merchantShopUrl = merchantShopUrl ;
225+ }
226+
227+ /**
228+ * The state/province of the merchant.
229+ *
230+ * @param merchantStateProvince The state/province of the merchant.
231+ * @return the current {@code PayByBankPlaidInfo} instance, allowing for method chaining
232+ */
233+ public PayByBankPlaidInfo merchantStateProvince (String merchantStateProvince ) {
234+ this .merchantStateProvince = merchantStateProvince ;
235+ return this ;
236+ }
237+
238+ /**
239+ * The state/province of the merchant.
240+ *
241+ * @return merchantStateProvince The state/province of the merchant.
242+ */
243+ @ JsonProperty (JSON_PROPERTY_MERCHANT_STATE_PROVINCE )
244+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
245+ public String getMerchantStateProvince () {
246+ return merchantStateProvince ;
247+ }
248+
249+ /**
250+ * The state/province of the merchant.
251+ *
252+ * @param merchantStateProvince The state/province of the merchant.
253+ */
254+ @ JsonProperty (JSON_PROPERTY_MERCHANT_STATE_PROVINCE )
255+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
256+ public void setMerchantStateProvince (String merchantStateProvince ) {
257+ this .merchantStateProvince = merchantStateProvince ;
258+ }
259+
260+ /**
261+ * The street address of the merchant.
262+ *
263+ * @param merchantStreetAddress The street address of the merchant.
264+ * @return the current {@code PayByBankPlaidInfo} instance, allowing for method chaining
265+ */
266+ public PayByBankPlaidInfo merchantStreetAddress (String merchantStreetAddress ) {
267+ this .merchantStreetAddress = merchantStreetAddress ;
268+ return this ;
269+ }
270+
271+ /**
272+ * The street address of the merchant.
273+ *
274+ * @return merchantStreetAddress The street address of the merchant.
275+ */
276+ @ JsonProperty (JSON_PROPERTY_MERCHANT_STREET_ADDRESS )
277+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
278+ public String getMerchantStreetAddress () {
279+ return merchantStreetAddress ;
280+ }
281+
282+ /**
283+ * The street address of the merchant.
284+ *
285+ * @param merchantStreetAddress The street address of the merchant.
286+ */
287+ @ JsonProperty (JSON_PROPERTY_MERCHANT_STREET_ADDRESS )
288+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
289+ public void setMerchantStreetAddress (String merchantStreetAddress ) {
290+ this .merchantStreetAddress = merchantStreetAddress ;
291+ }
292+
67293 /**
68294 * transactionDescription
69295 *
70296 * @param transactionDescription
71297 * @return the current {@code PayByBankPlaidInfo} instance, allowing for method chaining
72298 */
73299 public PayByBankPlaidInfo transactionDescription (
74- TransactionDescriptionInfo transactionDescription ) {
300+ TransactionDescriptionInfo transactionDescription ) {
75301 this .transactionDescription = transactionDescription ;
76302 return this ;
77303 }
@@ -98,6 +324,39 @@ public void setTransactionDescription(TransactionDescriptionInfo transactionDesc
98324 this .transactionDescription = transactionDescription ;
99325 }
100326
327+ /**
328+ * The zip code of the account.
329+ *
330+ * @param zipCode The zip code of the account.
331+ * @return the current {@code PayByBankPlaidInfo} instance, allowing for method chaining
332+ */
333+ public PayByBankPlaidInfo zipCode (String zipCode ) {
334+ this .zipCode = zipCode ;
335+ return this ;
336+ }
337+
338+ /**
339+ * The zip code of the account.
340+ *
341+ * @return zipCode The zip code of the account.
342+ */
343+ @ JsonProperty (JSON_PROPERTY_ZIP_CODE )
344+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
345+ public String getZipCode () {
346+ return zipCode ;
347+ }
348+
349+ /**
350+ * The zip code of the account.
351+ *
352+ * @param zipCode The zip code of the account.
353+ */
354+ @ JsonProperty (JSON_PROPERTY_ZIP_CODE )
355+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
356+ public void setZipCode (String zipCode ) {
357+ this .zipCode = zipCode ;
358+ }
359+
101360 /** Return true if this PayByBankPlaidInfo object is equal to o. */
102361 @ Override
103362 public boolean equals (Object o ) {
@@ -108,23 +367,50 @@ public boolean equals(Object o) {
108367 return false ;
109368 }
110369 PayByBankPlaidInfo payByBankPlaidInfo = (PayByBankPlaidInfo ) o ;
111- return Objects .equals (this .logo , payByBankPlaidInfo .logo )
112- && Objects .equals (this .transactionDescription , payByBankPlaidInfo .transactionDescription );
370+ return Objects .equals (this .countryCode , payByBankPlaidInfo .countryCode )
371+ && Objects .equals (this .logo , payByBankPlaidInfo .logo )
372+ && Objects .equals (this .merchantCity , payByBankPlaidInfo .merchantCity )
373+ && Objects .equals (this .merchantLegalName , payByBankPlaidInfo .merchantLegalName )
374+ && Objects .equals (this .merchantShopUrl , payByBankPlaidInfo .merchantShopUrl )
375+ && Objects .equals (this .merchantStateProvince , payByBankPlaidInfo .merchantStateProvince )
376+ && Objects .equals (this .merchantStreetAddress , payByBankPlaidInfo .merchantStreetAddress )
377+ && Objects .equals (this .transactionDescription , payByBankPlaidInfo .transactionDescription )
378+ && Objects .equals (this .zipCode , payByBankPlaidInfo .zipCode );
113379 }
114380
115381 @ Override
116382 public int hashCode () {
117- return Objects .hash (logo , transactionDescription );
383+ return Objects .hash (
384+ countryCode ,
385+ logo ,
386+ merchantCity ,
387+ merchantLegalName ,
388+ merchantShopUrl ,
389+ merchantStateProvince ,
390+ merchantStreetAddress ,
391+ transactionDescription ,
392+ zipCode );
118393 }
119394
120395 @ Override
121396 public String toString () {
122397 StringBuilder sb = new StringBuilder ();
123398 sb .append ("class PayByBankPlaidInfo {\n " );
399+ sb .append (" countryCode: " ).append (toIndentedString (countryCode )).append ("\n " );
124400 sb .append (" logo: " ).append (toIndentedString (logo )).append ("\n " );
401+ sb .append (" merchantCity: " ).append (toIndentedString (merchantCity )).append ("\n " );
402+ sb .append (" merchantLegalName: " ).append (toIndentedString (merchantLegalName )).append ("\n " );
403+ sb .append (" merchantShopUrl: " ).append (toIndentedString (merchantShopUrl )).append ("\n " );
404+ sb .append (" merchantStateProvince: " )
405+ .append (toIndentedString (merchantStateProvince ))
406+ .append ("\n " );
407+ sb .append (" merchantStreetAddress: " )
408+ .append (toIndentedString (merchantStreetAddress ))
409+ .append ("\n " );
125410 sb .append (" transactionDescription: " )
126- .append (toIndentedString (transactionDescription ))
127- .append ("\n " );
411+ .append (toIndentedString (transactionDescription ))
412+ .append ("\n " );
413+ sb .append (" zipCode: " ).append (toIndentedString (zipCode )).append ("\n " );
128414 sb .append ("}" );
129415 return sb .toString ();
130416 }
@@ -159,4 +445,4 @@ public static PayByBankPlaidInfo fromJson(String jsonString) throws JsonProcessi
159445 public String toJson () throws JsonProcessingException {
160446 return JSON .getMapper ().writeValueAsString (this );
161447 }
162- }
448+ }
0 commit comments