-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmodel_enhance_transaction_response.go
More file actions
1148 lines (989 loc) · 38 KB
/
model_enhance_transaction_response.go
File metadata and controls
1148 lines (989 loc) · 38 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
989
990
991
992
993
994
995
996
997
998
999
1000
/*
MX Platform API
The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions. Just getting started? See our [use case guides](/use-cases/).
API version: 20111101
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package mxplatformgo
import (
"encoding/json"
)
// checks if the EnhanceTransactionResponse type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &EnhanceTransactionResponse{}
// EnhanceTransactionResponse struct for EnhanceTransactionResponse
type EnhanceTransactionResponse struct {
Amount NullableFloat32 `json:"amount,omitempty"`
CategorizedBy NullableInt32 `json:"categorized_by,omitempty"`
Category NullableString `json:"category,omitempty"`
CategoryGuid NullableString `json:"category_guid,omitempty"`
DescribedBy NullableInt32 `json:"described_by,omitempty"`
Description NullableString `json:"description,omitempty"`
ExtendedTransactionType NullableString `json:"extended_transaction_type,omitempty"`
Id NullableString `json:"id,omitempty"`
IsBillPay NullableBool `json:"is_bill_pay,omitempty"`
IsDirectDeposit NullableBool `json:"is_direct_deposit,omitempty"`
IsExpense NullableBool `json:"is_expense,omitempty"`
IsFee NullableBool `json:"is_fee,omitempty"`
IsIncome NullableBool `json:"is_income,omitempty"`
IsInternational NullableBool `json:"is_international,omitempty"`
IsOverdraftFee NullableBool `json:"is_overdraft_fee,omitempty"`
IsPayrollAdvance NullableBool `json:"is_payroll_advance,omitempty"`
IsSubscription NullableBool `json:"is_subscription,omitempty"`
Memo NullableString `json:"memo,omitempty"`
MerchantCategoryCode NullableInt32 `json:"merchant_category_code,omitempty"`
MerchantGuid NullableString `json:"merchant_guid,omitempty"`
MerchantLocationGuid NullableString `json:"merchant_location_guid,omitempty"`
OriginalDescription NullableString `json:"original_description,omitempty"`
Type NullableString `json:"type,omitempty"`
}
// NewEnhanceTransactionResponse instantiates a new EnhanceTransactionResponse 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 NewEnhanceTransactionResponse() *EnhanceTransactionResponse {
this := EnhanceTransactionResponse{}
return &this
}
// NewEnhanceTransactionResponseWithDefaults instantiates a new EnhanceTransactionResponse 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 NewEnhanceTransactionResponseWithDefaults() *EnhanceTransactionResponse {
this := EnhanceTransactionResponse{}
return &this
}
// GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetAmount() float32 {
if o == nil || IsNil(o.Amount.Get()) {
var ret float32
return ret
}
return *o.Amount.Get()
}
// GetAmountOk returns a tuple with the Amount field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetAmountOk() (*float32, bool) {
if o == nil {
return nil, false
}
return o.Amount.Get(), o.Amount.IsSet()
}
// HasAmount returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasAmount() bool {
if o != nil && o.Amount.IsSet() {
return true
}
return false
}
// SetAmount gets a reference to the given NullableFloat32 and assigns it to the Amount field.
func (o *EnhanceTransactionResponse) SetAmount(v float32) {
o.Amount.Set(&v)
}
// SetAmountNil sets the value for Amount to be an explicit nil
func (o *EnhanceTransactionResponse) SetAmountNil() {
o.Amount.Set(nil)
}
// UnsetAmount ensures that no value is present for Amount, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetAmount() {
o.Amount.Unset()
}
// GetCategorizedBy returns the CategorizedBy field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetCategorizedBy() int32 {
if o == nil || IsNil(o.CategorizedBy.Get()) {
var ret int32
return ret
}
return *o.CategorizedBy.Get()
}
// GetCategorizedByOk returns a tuple with the CategorizedBy field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetCategorizedByOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.CategorizedBy.Get(), o.CategorizedBy.IsSet()
}
// HasCategorizedBy returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasCategorizedBy() bool {
if o != nil && o.CategorizedBy.IsSet() {
return true
}
return false
}
// SetCategorizedBy gets a reference to the given NullableInt32 and assigns it to the CategorizedBy field.
func (o *EnhanceTransactionResponse) SetCategorizedBy(v int32) {
o.CategorizedBy.Set(&v)
}
// SetCategorizedByNil sets the value for CategorizedBy to be an explicit nil
func (o *EnhanceTransactionResponse) SetCategorizedByNil() {
o.CategorizedBy.Set(nil)
}
// UnsetCategorizedBy ensures that no value is present for CategorizedBy, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetCategorizedBy() {
o.CategorizedBy.Unset()
}
// GetCategory returns the Category field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetCategory() string {
if o == nil || IsNil(o.Category.Get()) {
var ret string
return ret
}
return *o.Category.Get()
}
// GetCategoryOk returns a tuple with the Category field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetCategoryOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Category.Get(), o.Category.IsSet()
}
// HasCategory returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasCategory() bool {
if o != nil && o.Category.IsSet() {
return true
}
return false
}
// SetCategory gets a reference to the given NullableString and assigns it to the Category field.
func (o *EnhanceTransactionResponse) SetCategory(v string) {
o.Category.Set(&v)
}
// SetCategoryNil sets the value for Category to be an explicit nil
func (o *EnhanceTransactionResponse) SetCategoryNil() {
o.Category.Set(nil)
}
// UnsetCategory ensures that no value is present for Category, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetCategory() {
o.Category.Unset()
}
// GetCategoryGuid returns the CategoryGuid field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetCategoryGuid() string {
if o == nil || IsNil(o.CategoryGuid.Get()) {
var ret string
return ret
}
return *o.CategoryGuid.Get()
}
// GetCategoryGuidOk returns a tuple with the CategoryGuid field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetCategoryGuidOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.CategoryGuid.Get(), o.CategoryGuid.IsSet()
}
// HasCategoryGuid returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasCategoryGuid() bool {
if o != nil && o.CategoryGuid.IsSet() {
return true
}
return false
}
// SetCategoryGuid gets a reference to the given NullableString and assigns it to the CategoryGuid field.
func (o *EnhanceTransactionResponse) SetCategoryGuid(v string) {
o.CategoryGuid.Set(&v)
}
// SetCategoryGuidNil sets the value for CategoryGuid to be an explicit nil
func (o *EnhanceTransactionResponse) SetCategoryGuidNil() {
o.CategoryGuid.Set(nil)
}
// UnsetCategoryGuid ensures that no value is present for CategoryGuid, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetCategoryGuid() {
o.CategoryGuid.Unset()
}
// GetDescribedBy returns the DescribedBy field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetDescribedBy() int32 {
if o == nil || IsNil(o.DescribedBy.Get()) {
var ret int32
return ret
}
return *o.DescribedBy.Get()
}
// GetDescribedByOk returns a tuple with the DescribedBy field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetDescribedByOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.DescribedBy.Get(), o.DescribedBy.IsSet()
}
// HasDescribedBy returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasDescribedBy() bool {
if o != nil && o.DescribedBy.IsSet() {
return true
}
return false
}
// SetDescribedBy gets a reference to the given NullableInt32 and assigns it to the DescribedBy field.
func (o *EnhanceTransactionResponse) SetDescribedBy(v int32) {
o.DescribedBy.Set(&v)
}
// SetDescribedByNil sets the value for DescribedBy to be an explicit nil
func (o *EnhanceTransactionResponse) SetDescribedByNil() {
o.DescribedBy.Set(nil)
}
// UnsetDescribedBy ensures that no value is present for DescribedBy, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetDescribedBy() {
o.DescribedBy.Unset()
}
// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetDescription() string {
if o == nil || IsNil(o.Description.Get()) {
var ret string
return ret
}
return *o.Description.Get()
}
// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetDescriptionOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Description.Get(), o.Description.IsSet()
}
// HasDescription returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasDescription() bool {
if o != nil && o.Description.IsSet() {
return true
}
return false
}
// SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (o *EnhanceTransactionResponse) SetDescription(v string) {
o.Description.Set(&v)
}
// SetDescriptionNil sets the value for Description to be an explicit nil
func (o *EnhanceTransactionResponse) SetDescriptionNil() {
o.Description.Set(nil)
}
// UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetDescription() {
o.Description.Unset()
}
// GetExtendedTransactionType returns the ExtendedTransactionType field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetExtendedTransactionType() string {
if o == nil || IsNil(o.ExtendedTransactionType.Get()) {
var ret string
return ret
}
return *o.ExtendedTransactionType.Get()
}
// GetExtendedTransactionTypeOk returns a tuple with the ExtendedTransactionType field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetExtendedTransactionTypeOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.ExtendedTransactionType.Get(), o.ExtendedTransactionType.IsSet()
}
// HasExtendedTransactionType returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasExtendedTransactionType() bool {
if o != nil && o.ExtendedTransactionType.IsSet() {
return true
}
return false
}
// SetExtendedTransactionType gets a reference to the given NullableString and assigns it to the ExtendedTransactionType field.
func (o *EnhanceTransactionResponse) SetExtendedTransactionType(v string) {
o.ExtendedTransactionType.Set(&v)
}
// SetExtendedTransactionTypeNil sets the value for ExtendedTransactionType to be an explicit nil
func (o *EnhanceTransactionResponse) SetExtendedTransactionTypeNil() {
o.ExtendedTransactionType.Set(nil)
}
// UnsetExtendedTransactionType ensures that no value is present for ExtendedTransactionType, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetExtendedTransactionType() {
o.ExtendedTransactionType.Unset()
}
// GetId returns the Id field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetId() string {
if o == nil || IsNil(o.Id.Get()) {
var ret string
return ret
}
return *o.Id.Get()
}
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Id.Get(), o.Id.IsSet()
}
// HasId returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasId() bool {
if o != nil && o.Id.IsSet() {
return true
}
return false
}
// SetId gets a reference to the given NullableString and assigns it to the Id field.
func (o *EnhanceTransactionResponse) SetId(v string) {
o.Id.Set(&v)
}
// SetIdNil sets the value for Id to be an explicit nil
func (o *EnhanceTransactionResponse) SetIdNil() {
o.Id.Set(nil)
}
// UnsetId ensures that no value is present for Id, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetId() {
o.Id.Unset()
}
// GetIsBillPay returns the IsBillPay field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetIsBillPay() bool {
if o == nil || IsNil(o.IsBillPay.Get()) {
var ret bool
return ret
}
return *o.IsBillPay.Get()
}
// GetIsBillPayOk returns a tuple with the IsBillPay field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetIsBillPayOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.IsBillPay.Get(), o.IsBillPay.IsSet()
}
// HasIsBillPay returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasIsBillPay() bool {
if o != nil && o.IsBillPay.IsSet() {
return true
}
return false
}
// SetIsBillPay gets a reference to the given NullableBool and assigns it to the IsBillPay field.
func (o *EnhanceTransactionResponse) SetIsBillPay(v bool) {
o.IsBillPay.Set(&v)
}
// SetIsBillPayNil sets the value for IsBillPay to be an explicit nil
func (o *EnhanceTransactionResponse) SetIsBillPayNil() {
o.IsBillPay.Set(nil)
}
// UnsetIsBillPay ensures that no value is present for IsBillPay, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetIsBillPay() {
o.IsBillPay.Unset()
}
// GetIsDirectDeposit returns the IsDirectDeposit field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetIsDirectDeposit() bool {
if o == nil || IsNil(o.IsDirectDeposit.Get()) {
var ret bool
return ret
}
return *o.IsDirectDeposit.Get()
}
// GetIsDirectDepositOk returns a tuple with the IsDirectDeposit field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetIsDirectDepositOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.IsDirectDeposit.Get(), o.IsDirectDeposit.IsSet()
}
// HasIsDirectDeposit returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasIsDirectDeposit() bool {
if o != nil && o.IsDirectDeposit.IsSet() {
return true
}
return false
}
// SetIsDirectDeposit gets a reference to the given NullableBool and assigns it to the IsDirectDeposit field.
func (o *EnhanceTransactionResponse) SetIsDirectDeposit(v bool) {
o.IsDirectDeposit.Set(&v)
}
// SetIsDirectDepositNil sets the value for IsDirectDeposit to be an explicit nil
func (o *EnhanceTransactionResponse) SetIsDirectDepositNil() {
o.IsDirectDeposit.Set(nil)
}
// UnsetIsDirectDeposit ensures that no value is present for IsDirectDeposit, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetIsDirectDeposit() {
o.IsDirectDeposit.Unset()
}
// GetIsExpense returns the IsExpense field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetIsExpense() bool {
if o == nil || IsNil(o.IsExpense.Get()) {
var ret bool
return ret
}
return *o.IsExpense.Get()
}
// GetIsExpenseOk returns a tuple with the IsExpense field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetIsExpenseOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.IsExpense.Get(), o.IsExpense.IsSet()
}
// HasIsExpense returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasIsExpense() bool {
if o != nil && o.IsExpense.IsSet() {
return true
}
return false
}
// SetIsExpense gets a reference to the given NullableBool and assigns it to the IsExpense field.
func (o *EnhanceTransactionResponse) SetIsExpense(v bool) {
o.IsExpense.Set(&v)
}
// SetIsExpenseNil sets the value for IsExpense to be an explicit nil
func (o *EnhanceTransactionResponse) SetIsExpenseNil() {
o.IsExpense.Set(nil)
}
// UnsetIsExpense ensures that no value is present for IsExpense, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetIsExpense() {
o.IsExpense.Unset()
}
// GetIsFee returns the IsFee field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetIsFee() bool {
if o == nil || IsNil(o.IsFee.Get()) {
var ret bool
return ret
}
return *o.IsFee.Get()
}
// GetIsFeeOk returns a tuple with the IsFee field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetIsFeeOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.IsFee.Get(), o.IsFee.IsSet()
}
// HasIsFee returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasIsFee() bool {
if o != nil && o.IsFee.IsSet() {
return true
}
return false
}
// SetIsFee gets a reference to the given NullableBool and assigns it to the IsFee field.
func (o *EnhanceTransactionResponse) SetIsFee(v bool) {
o.IsFee.Set(&v)
}
// SetIsFeeNil sets the value for IsFee to be an explicit nil
func (o *EnhanceTransactionResponse) SetIsFeeNil() {
o.IsFee.Set(nil)
}
// UnsetIsFee ensures that no value is present for IsFee, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetIsFee() {
o.IsFee.Unset()
}
// GetIsIncome returns the IsIncome field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetIsIncome() bool {
if o == nil || IsNil(o.IsIncome.Get()) {
var ret bool
return ret
}
return *o.IsIncome.Get()
}
// GetIsIncomeOk returns a tuple with the IsIncome field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetIsIncomeOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.IsIncome.Get(), o.IsIncome.IsSet()
}
// HasIsIncome returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasIsIncome() bool {
if o != nil && o.IsIncome.IsSet() {
return true
}
return false
}
// SetIsIncome gets a reference to the given NullableBool and assigns it to the IsIncome field.
func (o *EnhanceTransactionResponse) SetIsIncome(v bool) {
o.IsIncome.Set(&v)
}
// SetIsIncomeNil sets the value for IsIncome to be an explicit nil
func (o *EnhanceTransactionResponse) SetIsIncomeNil() {
o.IsIncome.Set(nil)
}
// UnsetIsIncome ensures that no value is present for IsIncome, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetIsIncome() {
o.IsIncome.Unset()
}
// GetIsInternational returns the IsInternational field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetIsInternational() bool {
if o == nil || IsNil(o.IsInternational.Get()) {
var ret bool
return ret
}
return *o.IsInternational.Get()
}
// GetIsInternationalOk returns a tuple with the IsInternational field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetIsInternationalOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.IsInternational.Get(), o.IsInternational.IsSet()
}
// HasIsInternational returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasIsInternational() bool {
if o != nil && o.IsInternational.IsSet() {
return true
}
return false
}
// SetIsInternational gets a reference to the given NullableBool and assigns it to the IsInternational field.
func (o *EnhanceTransactionResponse) SetIsInternational(v bool) {
o.IsInternational.Set(&v)
}
// SetIsInternationalNil sets the value for IsInternational to be an explicit nil
func (o *EnhanceTransactionResponse) SetIsInternationalNil() {
o.IsInternational.Set(nil)
}
// UnsetIsInternational ensures that no value is present for IsInternational, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetIsInternational() {
o.IsInternational.Unset()
}
// GetIsOverdraftFee returns the IsOverdraftFee field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetIsOverdraftFee() bool {
if o == nil || IsNil(o.IsOverdraftFee.Get()) {
var ret bool
return ret
}
return *o.IsOverdraftFee.Get()
}
// GetIsOverdraftFeeOk returns a tuple with the IsOverdraftFee field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetIsOverdraftFeeOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.IsOverdraftFee.Get(), o.IsOverdraftFee.IsSet()
}
// HasIsOverdraftFee returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasIsOverdraftFee() bool {
if o != nil && o.IsOverdraftFee.IsSet() {
return true
}
return false
}
// SetIsOverdraftFee gets a reference to the given NullableBool and assigns it to the IsOverdraftFee field.
func (o *EnhanceTransactionResponse) SetIsOverdraftFee(v bool) {
o.IsOverdraftFee.Set(&v)
}
// SetIsOverdraftFeeNil sets the value for IsOverdraftFee to be an explicit nil
func (o *EnhanceTransactionResponse) SetIsOverdraftFeeNil() {
o.IsOverdraftFee.Set(nil)
}
// UnsetIsOverdraftFee ensures that no value is present for IsOverdraftFee, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetIsOverdraftFee() {
o.IsOverdraftFee.Unset()
}
// GetIsPayrollAdvance returns the IsPayrollAdvance field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetIsPayrollAdvance() bool {
if o == nil || IsNil(o.IsPayrollAdvance.Get()) {
var ret bool
return ret
}
return *o.IsPayrollAdvance.Get()
}
// GetIsPayrollAdvanceOk returns a tuple with the IsPayrollAdvance field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetIsPayrollAdvanceOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.IsPayrollAdvance.Get(), o.IsPayrollAdvance.IsSet()
}
// HasIsPayrollAdvance returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasIsPayrollAdvance() bool {
if o != nil && o.IsPayrollAdvance.IsSet() {
return true
}
return false
}
// SetIsPayrollAdvance gets a reference to the given NullableBool and assigns it to the IsPayrollAdvance field.
func (o *EnhanceTransactionResponse) SetIsPayrollAdvance(v bool) {
o.IsPayrollAdvance.Set(&v)
}
// SetIsPayrollAdvanceNil sets the value for IsPayrollAdvance to be an explicit nil
func (o *EnhanceTransactionResponse) SetIsPayrollAdvanceNil() {
o.IsPayrollAdvance.Set(nil)
}
// UnsetIsPayrollAdvance ensures that no value is present for IsPayrollAdvance, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetIsPayrollAdvance() {
o.IsPayrollAdvance.Unset()
}
// GetIsSubscription returns the IsSubscription field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetIsSubscription() bool {
if o == nil || IsNil(o.IsSubscription.Get()) {
var ret bool
return ret
}
return *o.IsSubscription.Get()
}
// GetIsSubscriptionOk returns a tuple with the IsSubscription field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetIsSubscriptionOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.IsSubscription.Get(), o.IsSubscription.IsSet()
}
// HasIsSubscription returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasIsSubscription() bool {
if o != nil && o.IsSubscription.IsSet() {
return true
}
return false
}
// SetIsSubscription gets a reference to the given NullableBool and assigns it to the IsSubscription field.
func (o *EnhanceTransactionResponse) SetIsSubscription(v bool) {
o.IsSubscription.Set(&v)
}
// SetIsSubscriptionNil sets the value for IsSubscription to be an explicit nil
func (o *EnhanceTransactionResponse) SetIsSubscriptionNil() {
o.IsSubscription.Set(nil)
}
// UnsetIsSubscription ensures that no value is present for IsSubscription, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetIsSubscription() {
o.IsSubscription.Unset()
}
// GetMemo returns the Memo field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetMemo() string {
if o == nil || IsNil(o.Memo.Get()) {
var ret string
return ret
}
return *o.Memo.Get()
}
// GetMemoOk returns a tuple with the Memo field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetMemoOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Memo.Get(), o.Memo.IsSet()
}
// HasMemo returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasMemo() bool {
if o != nil && o.Memo.IsSet() {
return true
}
return false
}
// SetMemo gets a reference to the given NullableString and assigns it to the Memo field.
func (o *EnhanceTransactionResponse) SetMemo(v string) {
o.Memo.Set(&v)
}
// SetMemoNil sets the value for Memo to be an explicit nil
func (o *EnhanceTransactionResponse) SetMemoNil() {
o.Memo.Set(nil)
}
// UnsetMemo ensures that no value is present for Memo, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetMemo() {
o.Memo.Unset()
}
// GetMerchantCategoryCode returns the MerchantCategoryCode field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetMerchantCategoryCode() int32 {
if o == nil || IsNil(o.MerchantCategoryCode.Get()) {
var ret int32
return ret
}
return *o.MerchantCategoryCode.Get()
}
// GetMerchantCategoryCodeOk returns a tuple with the MerchantCategoryCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetMerchantCategoryCodeOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.MerchantCategoryCode.Get(), o.MerchantCategoryCode.IsSet()
}
// HasMerchantCategoryCode returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasMerchantCategoryCode() bool {
if o != nil && o.MerchantCategoryCode.IsSet() {
return true
}
return false
}
// SetMerchantCategoryCode gets a reference to the given NullableInt32 and assigns it to the MerchantCategoryCode field.
func (o *EnhanceTransactionResponse) SetMerchantCategoryCode(v int32) {
o.MerchantCategoryCode.Set(&v)
}
// SetMerchantCategoryCodeNil sets the value for MerchantCategoryCode to be an explicit nil
func (o *EnhanceTransactionResponse) SetMerchantCategoryCodeNil() {
o.MerchantCategoryCode.Set(nil)
}
// UnsetMerchantCategoryCode ensures that no value is present for MerchantCategoryCode, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetMerchantCategoryCode() {
o.MerchantCategoryCode.Unset()
}
// GetMerchantGuid returns the MerchantGuid field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetMerchantGuid() string {
if o == nil || IsNil(o.MerchantGuid.Get()) {
var ret string
return ret
}
return *o.MerchantGuid.Get()
}
// GetMerchantGuidOk returns a tuple with the MerchantGuid field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetMerchantGuidOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.MerchantGuid.Get(), o.MerchantGuid.IsSet()
}
// HasMerchantGuid returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasMerchantGuid() bool {
if o != nil && o.MerchantGuid.IsSet() {
return true
}
return false
}
// SetMerchantGuid gets a reference to the given NullableString and assigns it to the MerchantGuid field.
func (o *EnhanceTransactionResponse) SetMerchantGuid(v string) {
o.MerchantGuid.Set(&v)
}
// SetMerchantGuidNil sets the value for MerchantGuid to be an explicit nil
func (o *EnhanceTransactionResponse) SetMerchantGuidNil() {
o.MerchantGuid.Set(nil)
}
// UnsetMerchantGuid ensures that no value is present for MerchantGuid, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetMerchantGuid() {
o.MerchantGuid.Unset()
}
// GetMerchantLocationGuid returns the MerchantLocationGuid field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetMerchantLocationGuid() string {
if o == nil || IsNil(o.MerchantLocationGuid.Get()) {
var ret string
return ret
}
return *o.MerchantLocationGuid.Get()
}
// GetMerchantLocationGuidOk returns a tuple with the MerchantLocationGuid field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetMerchantLocationGuidOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.MerchantLocationGuid.Get(), o.MerchantLocationGuid.IsSet()
}
// HasMerchantLocationGuid returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasMerchantLocationGuid() bool {
if o != nil && o.MerchantLocationGuid.IsSet() {
return true
}
return false
}
// SetMerchantLocationGuid gets a reference to the given NullableString and assigns it to the MerchantLocationGuid field.
func (o *EnhanceTransactionResponse) SetMerchantLocationGuid(v string) {
o.MerchantLocationGuid.Set(&v)
}
// SetMerchantLocationGuidNil sets the value for MerchantLocationGuid to be an explicit nil
func (o *EnhanceTransactionResponse) SetMerchantLocationGuidNil() {
o.MerchantLocationGuid.Set(nil)
}
// UnsetMerchantLocationGuid ensures that no value is present for MerchantLocationGuid, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetMerchantLocationGuid() {
o.MerchantLocationGuid.Unset()
}
// GetOriginalDescription returns the OriginalDescription field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetOriginalDescription() string {
if o == nil || IsNil(o.OriginalDescription.Get()) {
var ret string
return ret
}
return *o.OriginalDescription.Get()
}
// GetOriginalDescriptionOk returns a tuple with the OriginalDescription field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetOriginalDescriptionOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.OriginalDescription.Get(), o.OriginalDescription.IsSet()
}
// HasOriginalDescription returns a boolean if a field has been set.
func (o *EnhanceTransactionResponse) HasOriginalDescription() bool {
if o != nil && o.OriginalDescription.IsSet() {
return true
}
return false
}
// SetOriginalDescription gets a reference to the given NullableString and assigns it to the OriginalDescription field.
func (o *EnhanceTransactionResponse) SetOriginalDescription(v string) {
o.OriginalDescription.Set(&v)
}
// SetOriginalDescriptionNil sets the value for OriginalDescription to be an explicit nil
func (o *EnhanceTransactionResponse) SetOriginalDescriptionNil() {
o.OriginalDescription.Set(nil)
}
// UnsetOriginalDescription ensures that no value is present for OriginalDescription, not even an explicit nil
func (o *EnhanceTransactionResponse) UnsetOriginalDescription() {
o.OriginalDescription.Unset()
}
// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EnhanceTransactionResponse) GetType() string {
if o == nil || IsNil(o.Type.Get()) {
var ret string
return ret
}
return *o.Type.Get()
}
// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *EnhanceTransactionResponse) GetTypeOk() (*string, bool) {