Repository navigation
Expand file tree
/
Copy pathmodel_page_vendor_response_dto_data_inner.go
More file actions
990 lines (844 loc) · 30.1 KB
/
Copy pathmodel_page_vendor_response_dto_data_inner.go
File metadata and controls
990 lines (844 loc) · 30.1 KB
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
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
/*
Secure API
Secure API
API version: 2.3
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi
import (
"encoding/json"
)
// checks if the PageVendorResponseDTODataInner type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &PageVendorResponseDTODataInner{}
// PageVendorResponseDTODataInner struct for PageVendorResponseDTODataInner
type PageVendorResponseDTODataInner struct {
Id *string `json:"id,omitempty"`
PaymentBasedId *string `json:"paymentBasedId,omitempty"`
LegalEntityType *string `json:"legalEntityType,omitempty"`
MerchantId *string `json:"merchantId,omitempty"`
VendorName *string `json:"vendorName,omitempty"`
VendorAliasName *string `json:"vendorAliasName,omitempty"`
VendorDbName *string `json:"vendorDbName,omitempty"`
PaymentMethodType *string `json:"paymentMethodType,omitempty"`
NotificationType *string `json:"notificationType,omitempty"`
VendorNotes *string `json:"vendorNotes,omitempty"`
PhoneNumber *string `json:"phoneNumber,omitempty"`
IsMobileNumber *bool `json:"isMobileNumber,omitempty"`
Email *string `json:"email,omitempty"`
Url *string `json:"url,omitempty"`
VendorStatus *string `json:"vendorStatus,omitempty"`
UseSameAsPhysicalAddress *bool `json:"useSameAsPhysicalAddress,omitempty"`
PhysicalAddress *VendorResponseDTORemittanceAddress `json:"physicalAddress,omitempty"`
RemittanceAddress *VendorResponseDTORemittanceAddress `json:"remittanceAddress,omitempty"`
VerificationResults *VendorResponseDTOVerificationResultsInner `json:"verificationResults,omitempty"`
CreatedBy *string `json:"createdBy,omitempty"`
ModifiedBy *string `json:"modifiedBy,omitempty"`
CreatedOn *string `json:"createdOn,omitempty"`
ModifiedOn *string `json:"modifiedOn,omitempty"`
ApprovedDate *string `json:"approvedDate,omitempty"`
Template *VendorResponseDTOTemplate `json:"template,omitempty"`
}
// NewPageVendorResponseDTODataInner instantiates a new PageVendorResponseDTODataInner object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewPageVendorResponseDTODataInner() *PageVendorResponseDTODataInner {
this := PageVendorResponseDTODataInner{}
return &this
}
// NewPageVendorResponseDTODataInnerWithDefaults instantiates a new PageVendorResponseDTODataInner object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewPageVendorResponseDTODataInnerWithDefaults() *PageVendorResponseDTODataInner {
this := PageVendorResponseDTODataInner{}
return &this
}
// GetId returns the Id field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetId() string {
if o == nil || IsNil(o.Id) {
var ret string
return ret
}
return *o.Id
}
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetIdOk() (*string, bool) {
if o == nil || IsNil(o.Id) {
return nil, false
}
return o.Id, true
}
// HasId returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasId() bool {
if o != nil && !IsNil(o.Id) {
return true
}
return false
}
// SetId gets a reference to the given string and assigns it to the Id field.
func (o *PageVendorResponseDTODataInner) SetId(v string) {
o.Id = &v
}
// GetPaymentBasedId returns the PaymentBasedId field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetPaymentBasedId() string {
if o == nil || IsNil(o.PaymentBasedId) {
var ret string
return ret
}
return *o.PaymentBasedId
}
// GetPaymentBasedIdOk returns a tuple with the PaymentBasedId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetPaymentBasedIdOk() (*string, bool) {
if o == nil || IsNil(o.PaymentBasedId) {
return nil, false
}
return o.PaymentBasedId, true
}
// HasPaymentBasedId returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasPaymentBasedId() bool {
if o != nil && !IsNil(o.PaymentBasedId) {
return true
}
return false
}
// SetPaymentBasedId gets a reference to the given string and assigns it to the PaymentBasedId field.
func (o *PageVendorResponseDTODataInner) SetPaymentBasedId(v string) {
o.PaymentBasedId = &v
}
// GetLegalEntityType returns the LegalEntityType field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetLegalEntityType() string {
if o == nil || IsNil(o.LegalEntityType) {
var ret string
return ret
}
return *o.LegalEntityType
}
// GetLegalEntityTypeOk returns a tuple with the LegalEntityType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetLegalEntityTypeOk() (*string, bool) {
if o == nil || IsNil(o.LegalEntityType) {
return nil, false
}
return o.LegalEntityType, true
}
// HasLegalEntityType returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasLegalEntityType() bool {
if o != nil && !IsNil(o.LegalEntityType) {
return true
}
return false
}
// SetLegalEntityType gets a reference to the given string and assigns it to the LegalEntityType field.
func (o *PageVendorResponseDTODataInner) SetLegalEntityType(v string) {
o.LegalEntityType = &v
}
// GetMerchantId returns the MerchantId field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetMerchantId() string {
if o == nil || IsNil(o.MerchantId) {
var ret string
return ret
}
return *o.MerchantId
}
// GetMerchantIdOk returns a tuple with the MerchantId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetMerchantIdOk() (*string, bool) {
if o == nil || IsNil(o.MerchantId) {
return nil, false
}
return o.MerchantId, true
}
// HasMerchantId returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasMerchantId() bool {
if o != nil && !IsNil(o.MerchantId) {
return true
}
return false
}
// SetMerchantId gets a reference to the given string and assigns it to the MerchantId field.
func (o *PageVendorResponseDTODataInner) SetMerchantId(v string) {
o.MerchantId = &v
}
// GetVendorName returns the VendorName field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetVendorName() string {
if o == nil || IsNil(o.VendorName) {
var ret string
return ret
}
return *o.VendorName
}
// GetVendorNameOk returns a tuple with the VendorName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetVendorNameOk() (*string, bool) {
if o == nil || IsNil(o.VendorName) {
return nil, false
}
return o.VendorName, true
}
// HasVendorName returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasVendorName() bool {
if o != nil && !IsNil(o.VendorName) {
return true
}
return false
}
// SetVendorName gets a reference to the given string and assigns it to the VendorName field.
func (o *PageVendorResponseDTODataInner) SetVendorName(v string) {
o.VendorName = &v
}
// GetVendorAliasName returns the VendorAliasName field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetVendorAliasName() string {
if o == nil || IsNil(o.VendorAliasName) {
var ret string
return ret
}
return *o.VendorAliasName
}
// GetVendorAliasNameOk returns a tuple with the VendorAliasName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetVendorAliasNameOk() (*string, bool) {
if o == nil || IsNil(o.VendorAliasName) {
return nil, false
}
return o.VendorAliasName, true
}
// HasVendorAliasName returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasVendorAliasName() bool {
if o != nil && !IsNil(o.VendorAliasName) {
return true
}
return false
}
// SetVendorAliasName gets a reference to the given string and assigns it to the VendorAliasName field.
func (o *PageVendorResponseDTODataInner) SetVendorAliasName(v string) {
o.VendorAliasName = &v
}
// GetVendorDbName returns the VendorDbName field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetVendorDbName() string {
if o == nil || IsNil(o.VendorDbName) {
var ret string
return ret
}
return *o.VendorDbName
}
// GetVendorDbNameOk returns a tuple with the VendorDbName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetVendorDbNameOk() (*string, bool) {
if o == nil || IsNil(o.VendorDbName) {
return nil, false
}
return o.VendorDbName, true
}
// HasVendorDbName returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasVendorDbName() bool {
if o != nil && !IsNil(o.VendorDbName) {
return true
}
return false
}
// SetVendorDbName gets a reference to the given string and assigns it to the VendorDbName field.
func (o *PageVendorResponseDTODataInner) SetVendorDbName(v string) {
o.VendorDbName = &v
}
// GetPaymentMethodType returns the PaymentMethodType field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetPaymentMethodType() string {
if o == nil || IsNil(o.PaymentMethodType) {
var ret string
return ret
}
return *o.PaymentMethodType
}
// GetPaymentMethodTypeOk returns a tuple with the PaymentMethodType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetPaymentMethodTypeOk() (*string, bool) {
if o == nil || IsNil(o.PaymentMethodType) {
return nil, false
}
return o.PaymentMethodType, true
}
// HasPaymentMethodType returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasPaymentMethodType() bool {
if o != nil && !IsNil(o.PaymentMethodType) {
return true
}
return false
}
// SetPaymentMethodType gets a reference to the given string and assigns it to the PaymentMethodType field.
func (o *PageVendorResponseDTODataInner) SetPaymentMethodType(v string) {
o.PaymentMethodType = &v
}
// GetNotificationType returns the NotificationType field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetNotificationType() string {
if o == nil || IsNil(o.NotificationType) {
var ret string
return ret
}
return *o.NotificationType
}
// GetNotificationTypeOk returns a tuple with the NotificationType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetNotificationTypeOk() (*string, bool) {
if o == nil || IsNil(o.NotificationType) {
return nil, false
}
return o.NotificationType, true
}
// HasNotificationType returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasNotificationType() bool {
if o != nil && !IsNil(o.NotificationType) {
return true
}
return false
}
// SetNotificationType gets a reference to the given string and assigns it to the NotificationType field.
func (o *PageVendorResponseDTODataInner) SetNotificationType(v string) {
o.NotificationType = &v
}
// GetVendorNotes returns the VendorNotes field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetVendorNotes() string {
if o == nil || IsNil(o.VendorNotes) {
var ret string
return ret
}
return *o.VendorNotes
}
// GetVendorNotesOk returns a tuple with the VendorNotes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetVendorNotesOk() (*string, bool) {
if o == nil || IsNil(o.VendorNotes) {
return nil, false
}
return o.VendorNotes, true
}
// HasVendorNotes returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasVendorNotes() bool {
if o != nil && !IsNil(o.VendorNotes) {
return true
}
return false
}
// SetVendorNotes gets a reference to the given string and assigns it to the VendorNotes field.
func (o *PageVendorResponseDTODataInner) SetVendorNotes(v string) {
o.VendorNotes = &v
}
// GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetPhoneNumber() string {
if o == nil || IsNil(o.PhoneNumber) {
var ret string
return ret
}
return *o.PhoneNumber
}
// GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetPhoneNumberOk() (*string, bool) {
if o == nil || IsNil(o.PhoneNumber) {
return nil, false
}
return o.PhoneNumber, true
}
// HasPhoneNumber returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasPhoneNumber() bool {
if o != nil && !IsNil(o.PhoneNumber) {
return true
}
return false
}
// SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.
func (o *PageVendorResponseDTODataInner) SetPhoneNumber(v string) {
o.PhoneNumber = &v
}
// GetIsMobileNumber returns the IsMobileNumber field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetIsMobileNumber() bool {
if o == nil || IsNil(o.IsMobileNumber) {
var ret bool
return ret
}
return *o.IsMobileNumber
}
// GetIsMobileNumberOk returns a tuple with the IsMobileNumber field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetIsMobileNumberOk() (*bool, bool) {
if o == nil || IsNil(o.IsMobileNumber) {
return nil, false
}
return o.IsMobileNumber, true
}
// HasIsMobileNumber returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasIsMobileNumber() bool {
if o != nil && !IsNil(o.IsMobileNumber) {
return true
}
return false
}
// SetIsMobileNumber gets a reference to the given bool and assigns it to the IsMobileNumber field.
func (o *PageVendorResponseDTODataInner) SetIsMobileNumber(v bool) {
o.IsMobileNumber = &v
}
// GetEmail returns the Email field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetEmail() string {
if o == nil || IsNil(o.Email) {
var ret string
return ret
}
return *o.Email
}
// GetEmailOk returns a tuple with the Email field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetEmailOk() (*string, bool) {
if o == nil || IsNil(o.Email) {
return nil, false
}
return o.Email, true
}
// HasEmail returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasEmail() bool {
if o != nil && !IsNil(o.Email) {
return true
}
return false
}
// SetEmail gets a reference to the given string and assigns it to the Email field.
func (o *PageVendorResponseDTODataInner) SetEmail(v string) {
o.Email = &v
}
// GetUrl returns the Url field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetUrl() string {
if o == nil || IsNil(o.Url) {
var ret string
return ret
}
return *o.Url
}
// GetUrlOk returns a tuple with the Url field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetUrlOk() (*string, bool) {
if o == nil || IsNil(o.Url) {
return nil, false
}
return o.Url, true
}
// HasUrl returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasUrl() bool {
if o != nil && !IsNil(o.Url) {
return true
}
return false
}
// SetUrl gets a reference to the given string and assigns it to the Url field.
func (o *PageVendorResponseDTODataInner) SetUrl(v string) {
o.Url = &v
}
// GetVendorStatus returns the VendorStatus field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetVendorStatus() string {
if o == nil || IsNil(o.VendorStatus) {
var ret string
return ret
}
return *o.VendorStatus
}
// GetVendorStatusOk returns a tuple with the VendorStatus field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetVendorStatusOk() (*string, bool) {
if o == nil || IsNil(o.VendorStatus) {
return nil, false
}
return o.VendorStatus, true
}
// HasVendorStatus returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasVendorStatus() bool {
if o != nil && !IsNil(o.VendorStatus) {
return true
}
return false
}
// SetVendorStatus gets a reference to the given string and assigns it to the VendorStatus field.
func (o *PageVendorResponseDTODataInner) SetVendorStatus(v string) {
o.VendorStatus = &v
}
// GetUseSameAsPhysicalAddress returns the UseSameAsPhysicalAddress field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetUseSameAsPhysicalAddress() bool {
if o == nil || IsNil(o.UseSameAsPhysicalAddress) {
var ret bool
return ret
}
return *o.UseSameAsPhysicalAddress
}
// GetUseSameAsPhysicalAddressOk returns a tuple with the UseSameAsPhysicalAddress field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetUseSameAsPhysicalAddressOk() (*bool, bool) {
if o == nil || IsNil(o.UseSameAsPhysicalAddress) {
return nil, false
}
return o.UseSameAsPhysicalAddress, true
}
// HasUseSameAsPhysicalAddress returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasUseSameAsPhysicalAddress() bool {
if o != nil && !IsNil(o.UseSameAsPhysicalAddress) {
return true
}
return false
}
// SetUseSameAsPhysicalAddress gets a reference to the given bool and assigns it to the UseSameAsPhysicalAddress field.
func (o *PageVendorResponseDTODataInner) SetUseSameAsPhysicalAddress(v bool) {
o.UseSameAsPhysicalAddress = &v
}
// GetPhysicalAddress returns the PhysicalAddress field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetPhysicalAddress() VendorResponseDTORemittanceAddress {
if o == nil || IsNil(o.PhysicalAddress) {
var ret VendorResponseDTORemittanceAddress
return ret
}
return *o.PhysicalAddress
}
// GetPhysicalAddressOk returns a tuple with the PhysicalAddress field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetPhysicalAddressOk() (*VendorResponseDTORemittanceAddress, bool) {
if o == nil || IsNil(o.PhysicalAddress) {
return nil, false
}
return o.PhysicalAddress, true
}
// HasPhysicalAddress returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasPhysicalAddress() bool {
if o != nil && !IsNil(o.PhysicalAddress) {
return true
}
return false
}
// SetPhysicalAddress gets a reference to the given VendorResponseDTORemittanceAddress and assigns it to the PhysicalAddress field.
func (o *PageVendorResponseDTODataInner) SetPhysicalAddress(v VendorResponseDTORemittanceAddress) {
o.PhysicalAddress = &v
}
// GetRemittanceAddress returns the RemittanceAddress field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetRemittanceAddress() VendorResponseDTORemittanceAddress {
if o == nil || IsNil(o.RemittanceAddress) {
var ret VendorResponseDTORemittanceAddress
return ret
}
return *o.RemittanceAddress
}
// GetRemittanceAddressOk returns a tuple with the RemittanceAddress field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetRemittanceAddressOk() (*VendorResponseDTORemittanceAddress, bool) {
if o == nil || IsNil(o.RemittanceAddress) {
return nil, false
}
return o.RemittanceAddress, true
}
// HasRemittanceAddress returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasRemittanceAddress() bool {
if o != nil && !IsNil(o.RemittanceAddress) {
return true
}
return false
}
// SetRemittanceAddress gets a reference to the given VendorResponseDTORemittanceAddress and assigns it to the RemittanceAddress field.
func (o *PageVendorResponseDTODataInner) SetRemittanceAddress(v VendorResponseDTORemittanceAddress) {
o.RemittanceAddress = &v
}
// GetVerificationResults returns the VerificationResults field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetVerificationResults() VendorResponseDTOVerificationResultsInner {
if o == nil || IsNil(o.VerificationResults) {
var ret VendorResponseDTOVerificationResultsInner
return ret
}
return *o.VerificationResults
}
// GetVerificationResultsOk returns a tuple with the VerificationResults field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetVerificationResultsOk() (*VendorResponseDTOVerificationResultsInner, bool) {
if o == nil || IsNil(o.VerificationResults) {
return nil, false
}
return o.VerificationResults, true
}
// HasVerificationResults returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasVerificationResults() bool {
if o != nil && !IsNil(o.VerificationResults) {
return true
}
return false
}
// SetVerificationResults gets a reference to the given VendorResponseDTOVerificationResultsInner and assigns it to the VerificationResults field.
func (o *PageVendorResponseDTODataInner) SetVerificationResults(v VendorResponseDTOVerificationResultsInner) {
o.VerificationResults = &v
}
// GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetCreatedBy() string {
if o == nil || IsNil(o.CreatedBy) {
var ret string
return ret
}
return *o.CreatedBy
}
// GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetCreatedByOk() (*string, bool) {
if o == nil || IsNil(o.CreatedBy) {
return nil, false
}
return o.CreatedBy, true
}
// HasCreatedBy returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasCreatedBy() bool {
if o != nil && !IsNil(o.CreatedBy) {
return true
}
return false
}
// SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (o *PageVendorResponseDTODataInner) SetCreatedBy(v string) {
o.CreatedBy = &v
}
// GetModifiedBy returns the ModifiedBy field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetModifiedBy() string {
if o == nil || IsNil(o.ModifiedBy) {
var ret string
return ret
}
return *o.ModifiedBy
}
// GetModifiedByOk returns a tuple with the ModifiedBy field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetModifiedByOk() (*string, bool) {
if o == nil || IsNil(o.ModifiedBy) {
return nil, false
}
return o.ModifiedBy, true
}
// HasModifiedBy returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasModifiedBy() bool {
if o != nil && !IsNil(o.ModifiedBy) {
return true
}
return false
}
// SetModifiedBy gets a reference to the given string and assigns it to the ModifiedBy field.
func (o *PageVendorResponseDTODataInner) SetModifiedBy(v string) {
o.ModifiedBy = &v
}
// GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetCreatedOn() string {
if o == nil || IsNil(o.CreatedOn) {
var ret string
return ret
}
return *o.CreatedOn
}
// GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetCreatedOnOk() (*string, bool) {
if o == nil || IsNil(o.CreatedOn) {
return nil, false
}
return o.CreatedOn, true
}
// HasCreatedOn returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasCreatedOn() bool {
if o != nil && !IsNil(o.CreatedOn) {
return true
}
return false
}
// SetCreatedOn gets a reference to the given string and assigns it to the CreatedOn field.
func (o *PageVendorResponseDTODataInner) SetCreatedOn(v string) {
o.CreatedOn = &v
}
// GetModifiedOn returns the ModifiedOn field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetModifiedOn() string {
if o == nil || IsNil(o.ModifiedOn) {
var ret string
return ret
}
return *o.ModifiedOn
}
// GetModifiedOnOk returns a tuple with the ModifiedOn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetModifiedOnOk() (*string, bool) {
if o == nil || IsNil(o.ModifiedOn) {
return nil, false
}
return o.ModifiedOn, true
}
// HasModifiedOn returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasModifiedOn() bool {
if o != nil && !IsNil(o.ModifiedOn) {
return true
}
return false
}
// SetModifiedOn gets a reference to the given string and assigns it to the ModifiedOn field.
func (o *PageVendorResponseDTODataInner) SetModifiedOn(v string) {
o.ModifiedOn = &v
}
// GetApprovedDate returns the ApprovedDate field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetApprovedDate() string {
if o == nil || IsNil(o.ApprovedDate) {
var ret string
return ret
}
return *o.ApprovedDate
}
// GetApprovedDateOk returns a tuple with the ApprovedDate field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetApprovedDateOk() (*string, bool) {
if o == nil || IsNil(o.ApprovedDate) {
return nil, false
}
return o.ApprovedDate, true
}
// HasApprovedDate returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasApprovedDate() bool {
if o != nil && !IsNil(o.ApprovedDate) {
return true
}
return false
}
// SetApprovedDate gets a reference to the given string and assigns it to the ApprovedDate field.
func (o *PageVendorResponseDTODataInner) SetApprovedDate(v string) {
o.ApprovedDate = &v
}
// GetTemplate returns the Template field value if set, zero value otherwise.
func (o *PageVendorResponseDTODataInner) GetTemplate() VendorResponseDTOTemplate {
if o == nil || IsNil(o.Template) {
var ret VendorResponseDTOTemplate
return ret
}
return *o.Template
}
// GetTemplateOk returns a tuple with the Template field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PageVendorResponseDTODataInner) GetTemplateOk() (*VendorResponseDTOTemplate, bool) {
if o == nil || IsNil(o.Template) {
return nil, false
}
return o.Template, true
}
// HasTemplate returns a boolean if a field has been set.
func (o *PageVendorResponseDTODataInner) HasTemplate() bool {
if o != nil && !IsNil(o.Template) {
return true
}
return false
}
// SetTemplate gets a reference to the given VendorResponseDTOTemplate and assigns it to the Template field.
func (o *PageVendorResponseDTODataInner) SetTemplate(v VendorResponseDTOTemplate) {
o.Template = &v
}
func (o PageVendorResponseDTODataInner) MarshalJSON() ([]byte, error) {
toSerialize,err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o PageVendorResponseDTODataInner) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Id) {
toSerialize["id"] = o.Id
}
if !IsNil(o.PaymentBasedId) {
toSerialize["paymentBasedId"] = o.PaymentBasedId
}
if !IsNil(o.LegalEntityType) {
toSerialize["legalEntityType"] = o.LegalEntityType
}
if !IsNil(o.MerchantId) {
toSerialize["merchantId"] = o.MerchantId
}
if !IsNil(o.VendorName) {
toSerialize["vendorName"] = o.VendorName
}
if !IsNil(o.VendorAliasName) {
toSerialize["vendorAliasName"] = o.VendorAliasName
}
if !IsNil(o.VendorDbName) {
toSerialize["vendorDbName"] = o.VendorDbName
}
if !IsNil(o.PaymentMethodType) {
toSerialize["paymentMethodType"] = o.PaymentMethodType
}
if !IsNil(o.NotificationType) {
toSerialize["notificationType"] = o.NotificationType
}
if !IsNil(o.VendorNotes) {
toSerialize["vendorNotes"] = o.VendorNotes
}
if !IsNil(o.PhoneNumber) {
toSerialize["phoneNumber"] = o.PhoneNumber
}
if !IsNil(o.IsMobileNumber) {
toSerialize["isMobileNumber"] = o.IsMobileNumber
}
if !IsNil(o.Email) {
toSerialize["email"] = o.Email
}
if !IsNil(o.Url) {
toSerialize["url"] = o.Url
}
if !IsNil(o.VendorStatus) {
toSerialize["vendorStatus"] = o.VendorStatus
}
if !IsNil(o.UseSameAsPhysicalAddress) {
toSerialize["useSameAsPhysicalAddress"] = o.UseSameAsPhysicalAddress
}
if !IsNil(o.PhysicalAddress) {
toSerialize["physicalAddress"] = o.PhysicalAddress
}
if !IsNil(o.RemittanceAddress) {
toSerialize["remittanceAddress"] = o.RemittanceAddress
}
if !IsNil(o.VerificationResults) {
toSerialize["verificationResults"] = o.VerificationResults
}
if !IsNil(o.CreatedBy) {
toSerialize["createdBy"] = o.CreatedBy
}
if !IsNil(o.ModifiedBy) {
toSerialize["modifiedBy"] = o.ModifiedBy
}
if !IsNil(o.CreatedOn) {
toSerialize["createdOn"] = o.CreatedOn
}
if !IsNil(o.ModifiedOn) {
toSerialize["modifiedOn"] = o.ModifiedOn
}
if !IsNil(o.ApprovedDate) {
toSerialize["approvedDate"] = o.ApprovedDate
}
if !IsNil(o.Template) {
toSerialize["template"] = o.Template
}
return toSerialize, nil
}
type NullablePageVendorResponseDTODataInner struct {
value *PageVendorResponseDTODataInner
isSet bool
}
func (v NullablePageVendorResponseDTODataInner) Get() *PageVendorResponseDTODataInner {
return v.value
}
func (v *NullablePageVendorResponseDTODataInner) Set(val *PageVendorResponseDTODataInner) {
v.value = val
v.isSet = true
}
func (v NullablePageVendorResponseDTODataInner) IsSet() bool {
return v.isSet
}
func (v *NullablePageVendorResponseDTODataInner) Unset() {
v.value = nil
v.isSet = false
}
func NewNullablePageVendorResponseDTODataInner(val *PageVendorResponseDTODataInner) *NullablePageVendorResponseDTODataInner {
return &NullablePageVendorResponseDTODataInner{value: val, isSet: true}
}
func (v NullablePageVendorResponseDTODataInner) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullablePageVendorResponseDTODataInner) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}