-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodel_merchant_transaction_entity_response_data_inner.go
More file actions
2394 lines (2053 loc) · 77.4 KB
/
model_merchant_transaction_entity_response_data_inner.go
File metadata and controls
2394 lines (2053 loc) · 77.4 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
/*
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 MerchantTransactionEntityResponseDataInner type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &MerchantTransactionEntityResponseDataInner{}
// MerchantTransactionEntityResponseDataInner struct for MerchantTransactionEntityResponseDataInner
type MerchantTransactionEntityResponseDataInner struct {
TransactionId *string `json:"transactionId,omitempty"`
MerchantId *string `json:"merchantId,omitempty"`
IpAddress *string `json:"ipAddress,omitempty"`
TransactionDate *string `json:"transactionDate,omitempty"`
OperationType *string `json:"operationType,omitempty"`
ChannelType *string `json:"channelType,omitempty"`
ProcessMethod *string `json:"processMethod,omitempty"`
IsDebit *bool `json:"isDebit,omitempty"`
ReferenceTransactionId *string `json:"referenceTransactionId,omitempty"`
ReferenceCustomerId *string `json:"referenceCustomerId,omitempty"`
RecurringId *string `json:"recurringId,omitempty"`
BatchId *int32 `json:"batchId,omitempty"`
TransactionStatus *string `json:"transactionStatus,omitempty"`
SettlementDate *string `json:"settlementDate,omitempty"`
AuthCode *string `json:"authCode,omitempty"`
CardNumber *string `json:"cardNumber,omitempty"`
AccountNumber *string `json:"accountNumber,omitempty"`
BinNumber *string `json:"binNumber,omitempty"`
ChequeNumber *string `json:"chequeNumber,omitempty"`
RoutingNumber *string `json:"routingNumber,omitempty"`
NameOnCheckOrCard *string `json:"nameOnCheckOrCard,omitempty"`
AccountHolderName *string `json:"accountHolderName,omitempty"`
AccountCategory *string `json:"accountCategory,omitempty"`
TrainingMode *bool `json:"trainingMode,omitempty"`
Amount *float32 `json:"amount,omitempty"`
ConvenienceAmount *float32 `json:"convenienceAmount,omitempty"`
CaptureAmount *float32 `json:"captureAmount,omitempty"`
CardType *string `json:"cardType,omitempty"`
CreatedOn *string `json:"createdOn,omitempty"`
CreatedBy *string `json:"createdBy,omitempty"`
ModifiedOn *string `json:"modifiedOn,omitempty"`
ModifiedBy *string `json:"modifiedBy,omitempty"`
CustomerName *string `json:"customerName,omitempty"`
PartnerId *string `json:"partnerId,omitempty"`
PartnerName *string `json:"partnerName,omitempty"`
OrderId *string `json:"orderId,omitempty"`
InvoiceId *string `json:"invoiceId,omitempty"`
PaymentLinkId *string `json:"paymentLinkId,omitempty"`
ReferenceNo *string `json:"referenceNo,omitempty"`
ProcessorName *string `json:"processorName,omitempty"`
ProcessorDisplayName *string `json:"processorDisplayName,omitempty"`
Verification2Code *string `json:"verification2Code,omitempty"`
TransactionOrigin *string `json:"transactionOrigin,omitempty"`
PreviousTransactionStatus *string `json:"previousTransactionStatus,omitempty"`
TraceNumber *string `json:"traceNumber,omitempty"`
MerchantReference *string `json:"merchantReference,omitempty"`
AdditionaFields *string `json:"additionaFields,omitempty"`
AdjustmentValue *float32 `json:"adjustmentValue,omitempty"`
AdjustmentFixedValue *float32 `json:"adjustmentFixedValue,omitempty"`
AdjustmentAmount *float32 `json:"adjustmentAmount,omitempty"`
AdjustmentDisplayName *string `json:"adjustmentDisplayName,omitempty"`
AdjustmentDescriptorMessage *string `json:"adjustmentDescriptorMessage,omitempty"`
PaymentAdjustmentType *string `json:"paymentAdjustmentType,omitempty"`
CommissionType *TransactionPaymentResponseAchTenderInfoCommissionType `json:"commissionType,omitempty"`
CommissionValue *float32 `json:"commissionValue,omitempty"`
CommissionFixedValue *float32 `json:"commissionFixedValue,omitempty"`
AccountToken *string `json:"accountToken,omitempty"`
PaymentType *string `json:"paymentType,omitempty"`
PaymentCategory *string `json:"paymentCategory,omitempty"`
RefundReason *string `json:"refundReason,omitempty"`
RefundDetail *string `json:"refundDetail,omitempty"`
FullAccountNumber *string `json:"fullAccountNumber,omitempty"`
RefundType *string `json:"refundType,omitempty"`
SuppressTechnologyFee *bool `json:"suppressTechnologyFee,omitempty"`
}
// NewMerchantTransactionEntityResponseDataInner instantiates a new MerchantTransactionEntityResponseDataInner 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 NewMerchantTransactionEntityResponseDataInner() *MerchantTransactionEntityResponseDataInner {
this := MerchantTransactionEntityResponseDataInner{}
return &this
}
// NewMerchantTransactionEntityResponseDataInnerWithDefaults instantiates a new MerchantTransactionEntityResponseDataInner 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 NewMerchantTransactionEntityResponseDataInnerWithDefaults() *MerchantTransactionEntityResponseDataInner {
this := MerchantTransactionEntityResponseDataInner{}
return &this
}
// GetTransactionId returns the TransactionId field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetTransactionId() string {
if o == nil || IsNil(o.TransactionId) {
var ret string
return ret
}
return *o.TransactionId
}
// GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetTransactionIdOk() (*string, bool) {
if o == nil || IsNil(o.TransactionId) {
return nil, false
}
return o.TransactionId, true
}
// HasTransactionId returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasTransactionId() bool {
if o != nil && !IsNil(o.TransactionId) {
return true
}
return false
}
// SetTransactionId gets a reference to the given string and assigns it to the TransactionId field.
func (o *MerchantTransactionEntityResponseDataInner) SetTransactionId(v string) {
o.TransactionId = &v
}
// GetMerchantId returns the MerchantId field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) 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 *MerchantTransactionEntityResponseDataInner) 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 *MerchantTransactionEntityResponseDataInner) 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 *MerchantTransactionEntityResponseDataInner) SetMerchantId(v string) {
o.MerchantId = &v
}
// GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetIpAddress() string {
if o == nil || IsNil(o.IpAddress) {
var ret string
return ret
}
return *o.IpAddress
}
// GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetIpAddressOk() (*string, bool) {
if o == nil || IsNil(o.IpAddress) {
return nil, false
}
return o.IpAddress, true
}
// HasIpAddress returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasIpAddress() bool {
if o != nil && !IsNil(o.IpAddress) {
return true
}
return false
}
// SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
func (o *MerchantTransactionEntityResponseDataInner) SetIpAddress(v string) {
o.IpAddress = &v
}
// GetTransactionDate returns the TransactionDate field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetTransactionDate() string {
if o == nil || IsNil(o.TransactionDate) {
var ret string
return ret
}
return *o.TransactionDate
}
// GetTransactionDateOk returns a tuple with the TransactionDate field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetTransactionDateOk() (*string, bool) {
if o == nil || IsNil(o.TransactionDate) {
return nil, false
}
return o.TransactionDate, true
}
// HasTransactionDate returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasTransactionDate() bool {
if o != nil && !IsNil(o.TransactionDate) {
return true
}
return false
}
// SetTransactionDate gets a reference to the given string and assigns it to the TransactionDate field.
func (o *MerchantTransactionEntityResponseDataInner) SetTransactionDate(v string) {
o.TransactionDate = &v
}
// GetOperationType returns the OperationType field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetOperationType() string {
if o == nil || IsNil(o.OperationType) {
var ret string
return ret
}
return *o.OperationType
}
// GetOperationTypeOk returns a tuple with the OperationType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetOperationTypeOk() (*string, bool) {
if o == nil || IsNil(o.OperationType) {
return nil, false
}
return o.OperationType, true
}
// HasOperationType returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasOperationType() bool {
if o != nil && !IsNil(o.OperationType) {
return true
}
return false
}
// SetOperationType gets a reference to the given string and assigns it to the OperationType field.
func (o *MerchantTransactionEntityResponseDataInner) SetOperationType(v string) {
o.OperationType = &v
}
// GetChannelType returns the ChannelType field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetChannelType() string {
if o == nil || IsNil(o.ChannelType) {
var ret string
return ret
}
return *o.ChannelType
}
// GetChannelTypeOk returns a tuple with the ChannelType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetChannelTypeOk() (*string, bool) {
if o == nil || IsNil(o.ChannelType) {
return nil, false
}
return o.ChannelType, true
}
// HasChannelType returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasChannelType() bool {
if o != nil && !IsNil(o.ChannelType) {
return true
}
return false
}
// SetChannelType gets a reference to the given string and assigns it to the ChannelType field.
func (o *MerchantTransactionEntityResponseDataInner) SetChannelType(v string) {
o.ChannelType = &v
}
// GetProcessMethod returns the ProcessMethod field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetProcessMethod() string {
if o == nil || IsNil(o.ProcessMethod) {
var ret string
return ret
}
return *o.ProcessMethod
}
// GetProcessMethodOk returns a tuple with the ProcessMethod field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetProcessMethodOk() (*string, bool) {
if o == nil || IsNil(o.ProcessMethod) {
return nil, false
}
return o.ProcessMethod, true
}
// HasProcessMethod returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasProcessMethod() bool {
if o != nil && !IsNil(o.ProcessMethod) {
return true
}
return false
}
// SetProcessMethod gets a reference to the given string and assigns it to the ProcessMethod field.
func (o *MerchantTransactionEntityResponseDataInner) SetProcessMethod(v string) {
o.ProcessMethod = &v
}
// GetIsDebit returns the IsDebit field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetIsDebit() bool {
if o == nil || IsNil(o.IsDebit) {
var ret bool
return ret
}
return *o.IsDebit
}
// GetIsDebitOk returns a tuple with the IsDebit field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetIsDebitOk() (*bool, bool) {
if o == nil || IsNil(o.IsDebit) {
return nil, false
}
return o.IsDebit, true
}
// HasIsDebit returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasIsDebit() bool {
if o != nil && !IsNil(o.IsDebit) {
return true
}
return false
}
// SetIsDebit gets a reference to the given bool and assigns it to the IsDebit field.
func (o *MerchantTransactionEntityResponseDataInner) SetIsDebit(v bool) {
o.IsDebit = &v
}
// GetReferenceTransactionId returns the ReferenceTransactionId field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetReferenceTransactionId() string {
if o == nil || IsNil(o.ReferenceTransactionId) {
var ret string
return ret
}
return *o.ReferenceTransactionId
}
// GetReferenceTransactionIdOk returns a tuple with the ReferenceTransactionId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetReferenceTransactionIdOk() (*string, bool) {
if o == nil || IsNil(o.ReferenceTransactionId) {
return nil, false
}
return o.ReferenceTransactionId, true
}
// HasReferenceTransactionId returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasReferenceTransactionId() bool {
if o != nil && !IsNil(o.ReferenceTransactionId) {
return true
}
return false
}
// SetReferenceTransactionId gets a reference to the given string and assigns it to the ReferenceTransactionId field.
func (o *MerchantTransactionEntityResponseDataInner) SetReferenceTransactionId(v string) {
o.ReferenceTransactionId = &v
}
// GetReferenceCustomerId returns the ReferenceCustomerId field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetReferenceCustomerId() string {
if o == nil || IsNil(o.ReferenceCustomerId) {
var ret string
return ret
}
return *o.ReferenceCustomerId
}
// GetReferenceCustomerIdOk returns a tuple with the ReferenceCustomerId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetReferenceCustomerIdOk() (*string, bool) {
if o == nil || IsNil(o.ReferenceCustomerId) {
return nil, false
}
return o.ReferenceCustomerId, true
}
// HasReferenceCustomerId returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasReferenceCustomerId() bool {
if o != nil && !IsNil(o.ReferenceCustomerId) {
return true
}
return false
}
// SetReferenceCustomerId gets a reference to the given string and assigns it to the ReferenceCustomerId field.
func (o *MerchantTransactionEntityResponseDataInner) SetReferenceCustomerId(v string) {
o.ReferenceCustomerId = &v
}
// GetRecurringId returns the RecurringId field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetRecurringId() string {
if o == nil || IsNil(o.RecurringId) {
var ret string
return ret
}
return *o.RecurringId
}
// GetRecurringIdOk returns a tuple with the RecurringId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetRecurringIdOk() (*string, bool) {
if o == nil || IsNil(o.RecurringId) {
return nil, false
}
return o.RecurringId, true
}
// HasRecurringId returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasRecurringId() bool {
if o != nil && !IsNil(o.RecurringId) {
return true
}
return false
}
// SetRecurringId gets a reference to the given string and assigns it to the RecurringId field.
func (o *MerchantTransactionEntityResponseDataInner) SetRecurringId(v string) {
o.RecurringId = &v
}
// GetBatchId returns the BatchId field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetBatchId() int32 {
if o == nil || IsNil(o.BatchId) {
var ret int32
return ret
}
return *o.BatchId
}
// GetBatchIdOk returns a tuple with the BatchId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetBatchIdOk() (*int32, bool) {
if o == nil || IsNil(o.BatchId) {
return nil, false
}
return o.BatchId, true
}
// HasBatchId returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasBatchId() bool {
if o != nil && !IsNil(o.BatchId) {
return true
}
return false
}
// SetBatchId gets a reference to the given int32 and assigns it to the BatchId field.
func (o *MerchantTransactionEntityResponseDataInner) SetBatchId(v int32) {
o.BatchId = &v
}
// GetTransactionStatus returns the TransactionStatus field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetTransactionStatus() string {
if o == nil || IsNil(o.TransactionStatus) {
var ret string
return ret
}
return *o.TransactionStatus
}
// GetTransactionStatusOk returns a tuple with the TransactionStatus field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetTransactionStatusOk() (*string, bool) {
if o == nil || IsNil(o.TransactionStatus) {
return nil, false
}
return o.TransactionStatus, true
}
// HasTransactionStatus returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasTransactionStatus() bool {
if o != nil && !IsNil(o.TransactionStatus) {
return true
}
return false
}
// SetTransactionStatus gets a reference to the given string and assigns it to the TransactionStatus field.
func (o *MerchantTransactionEntityResponseDataInner) SetTransactionStatus(v string) {
o.TransactionStatus = &v
}
// GetSettlementDate returns the SettlementDate field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetSettlementDate() string {
if o == nil || IsNil(o.SettlementDate) {
var ret string
return ret
}
return *o.SettlementDate
}
// GetSettlementDateOk returns a tuple with the SettlementDate field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetSettlementDateOk() (*string, bool) {
if o == nil || IsNil(o.SettlementDate) {
return nil, false
}
return o.SettlementDate, true
}
// HasSettlementDate returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasSettlementDate() bool {
if o != nil && !IsNil(o.SettlementDate) {
return true
}
return false
}
// SetSettlementDate gets a reference to the given string and assigns it to the SettlementDate field.
func (o *MerchantTransactionEntityResponseDataInner) SetSettlementDate(v string) {
o.SettlementDate = &v
}
// GetAuthCode returns the AuthCode field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetAuthCode() string {
if o == nil || IsNil(o.AuthCode) {
var ret string
return ret
}
return *o.AuthCode
}
// GetAuthCodeOk returns a tuple with the AuthCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetAuthCodeOk() (*string, bool) {
if o == nil || IsNil(o.AuthCode) {
return nil, false
}
return o.AuthCode, true
}
// HasAuthCode returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasAuthCode() bool {
if o != nil && !IsNil(o.AuthCode) {
return true
}
return false
}
// SetAuthCode gets a reference to the given string and assigns it to the AuthCode field.
func (o *MerchantTransactionEntityResponseDataInner) SetAuthCode(v string) {
o.AuthCode = &v
}
// GetCardNumber returns the CardNumber field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetCardNumber() string {
if o == nil || IsNil(o.CardNumber) {
var ret string
return ret
}
return *o.CardNumber
}
// GetCardNumberOk returns a tuple with the CardNumber field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetCardNumberOk() (*string, bool) {
if o == nil || IsNil(o.CardNumber) {
return nil, false
}
return o.CardNumber, true
}
// HasCardNumber returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasCardNumber() bool {
if o != nil && !IsNil(o.CardNumber) {
return true
}
return false
}
// SetCardNumber gets a reference to the given string and assigns it to the CardNumber field.
func (o *MerchantTransactionEntityResponseDataInner) SetCardNumber(v string) {
o.CardNumber = &v
}
// GetAccountNumber returns the AccountNumber field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetAccountNumber() string {
if o == nil || IsNil(o.AccountNumber) {
var ret string
return ret
}
return *o.AccountNumber
}
// GetAccountNumberOk returns a tuple with the AccountNumber field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetAccountNumberOk() (*string, bool) {
if o == nil || IsNil(o.AccountNumber) {
return nil, false
}
return o.AccountNumber, true
}
// HasAccountNumber returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasAccountNumber() bool {
if o != nil && !IsNil(o.AccountNumber) {
return true
}
return false
}
// SetAccountNumber gets a reference to the given string and assigns it to the AccountNumber field.
func (o *MerchantTransactionEntityResponseDataInner) SetAccountNumber(v string) {
o.AccountNumber = &v
}
// GetBinNumber returns the BinNumber field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetBinNumber() string {
if o == nil || IsNil(o.BinNumber) {
var ret string
return ret
}
return *o.BinNumber
}
// GetBinNumberOk returns a tuple with the BinNumber field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetBinNumberOk() (*string, bool) {
if o == nil || IsNil(o.BinNumber) {
return nil, false
}
return o.BinNumber, true
}
// HasBinNumber returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasBinNumber() bool {
if o != nil && !IsNil(o.BinNumber) {
return true
}
return false
}
// SetBinNumber gets a reference to the given string and assigns it to the BinNumber field.
func (o *MerchantTransactionEntityResponseDataInner) SetBinNumber(v string) {
o.BinNumber = &v
}
// GetChequeNumber returns the ChequeNumber field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetChequeNumber() string {
if o == nil || IsNil(o.ChequeNumber) {
var ret string
return ret
}
return *o.ChequeNumber
}
// GetChequeNumberOk returns a tuple with the ChequeNumber field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetChequeNumberOk() (*string, bool) {
if o == nil || IsNil(o.ChequeNumber) {
return nil, false
}
return o.ChequeNumber, true
}
// HasChequeNumber returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasChequeNumber() bool {
if o != nil && !IsNil(o.ChequeNumber) {
return true
}
return false
}
// SetChequeNumber gets a reference to the given string and assigns it to the ChequeNumber field.
func (o *MerchantTransactionEntityResponseDataInner) SetChequeNumber(v string) {
o.ChequeNumber = &v
}
// GetRoutingNumber returns the RoutingNumber field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetRoutingNumber() string {
if o == nil || IsNil(o.RoutingNumber) {
var ret string
return ret
}
return *o.RoutingNumber
}
// GetRoutingNumberOk returns a tuple with the RoutingNumber field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetRoutingNumberOk() (*string, bool) {
if o == nil || IsNil(o.RoutingNumber) {
return nil, false
}
return o.RoutingNumber, true
}
// HasRoutingNumber returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasRoutingNumber() bool {
if o != nil && !IsNil(o.RoutingNumber) {
return true
}
return false
}
// SetRoutingNumber gets a reference to the given string and assigns it to the RoutingNumber field.
func (o *MerchantTransactionEntityResponseDataInner) SetRoutingNumber(v string) {
o.RoutingNumber = &v
}
// GetNameOnCheckOrCard returns the NameOnCheckOrCard field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetNameOnCheckOrCard() string {
if o == nil || IsNil(o.NameOnCheckOrCard) {
var ret string
return ret
}
return *o.NameOnCheckOrCard
}
// GetNameOnCheckOrCardOk returns a tuple with the NameOnCheckOrCard field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetNameOnCheckOrCardOk() (*string, bool) {
if o == nil || IsNil(o.NameOnCheckOrCard) {
return nil, false
}
return o.NameOnCheckOrCard, true
}
// HasNameOnCheckOrCard returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasNameOnCheckOrCard() bool {
if o != nil && !IsNil(o.NameOnCheckOrCard) {
return true
}
return false
}
// SetNameOnCheckOrCard gets a reference to the given string and assigns it to the NameOnCheckOrCard field.
func (o *MerchantTransactionEntityResponseDataInner) SetNameOnCheckOrCard(v string) {
o.NameOnCheckOrCard = &v
}
// GetAccountHolderName returns the AccountHolderName field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetAccountHolderName() string {
if o == nil || IsNil(o.AccountHolderName) {
var ret string
return ret
}
return *o.AccountHolderName
}
// GetAccountHolderNameOk returns a tuple with the AccountHolderName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetAccountHolderNameOk() (*string, bool) {
if o == nil || IsNil(o.AccountHolderName) {
return nil, false
}
return o.AccountHolderName, true
}
// HasAccountHolderName returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasAccountHolderName() bool {
if o != nil && !IsNil(o.AccountHolderName) {
return true
}
return false
}
// SetAccountHolderName gets a reference to the given string and assigns it to the AccountHolderName field.
func (o *MerchantTransactionEntityResponseDataInner) SetAccountHolderName(v string) {
o.AccountHolderName = &v
}
// GetAccountCategory returns the AccountCategory field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetAccountCategory() string {
if o == nil || IsNil(o.AccountCategory) {
var ret string
return ret
}
return *o.AccountCategory
}
// GetAccountCategoryOk returns a tuple with the AccountCategory field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetAccountCategoryOk() (*string, bool) {
if o == nil || IsNil(o.AccountCategory) {
return nil, false
}
return o.AccountCategory, true
}
// HasAccountCategory returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasAccountCategory() bool {
if o != nil && !IsNil(o.AccountCategory) {
return true
}
return false
}
// SetAccountCategory gets a reference to the given string and assigns it to the AccountCategory field.
func (o *MerchantTransactionEntityResponseDataInner) SetAccountCategory(v string) {
o.AccountCategory = &v
}
// GetTrainingMode returns the TrainingMode field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetTrainingMode() bool {
if o == nil || IsNil(o.TrainingMode) {
var ret bool
return ret
}
return *o.TrainingMode
}
// GetTrainingModeOk returns a tuple with the TrainingMode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetTrainingModeOk() (*bool, bool) {
if o == nil || IsNil(o.TrainingMode) {
return nil, false
}
return o.TrainingMode, true
}
// HasTrainingMode returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasTrainingMode() bool {
if o != nil && !IsNil(o.TrainingMode) {
return true
}
return false
}
// SetTrainingMode gets a reference to the given bool and assigns it to the TrainingMode field.
func (o *MerchantTransactionEntityResponseDataInner) SetTrainingMode(v bool) {
o.TrainingMode = &v
}
// GetAmount returns the Amount field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetAmount() float32 {
if o == nil || IsNil(o.Amount) {
var ret float32
return ret
}
return *o.Amount
}
// GetAmountOk returns a tuple with the Amount field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetAmountOk() (*float32, bool) {
if o == nil || IsNil(o.Amount) {
return nil, false
}
return o.Amount, true
}
// HasAmount returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasAmount() bool {
if o != nil && !IsNil(o.Amount) {
return true
}
return false
}
// SetAmount gets a reference to the given float32 and assigns it to the Amount field.
func (o *MerchantTransactionEntityResponseDataInner) SetAmount(v float32) {
o.Amount = &v
}
// GetConvenienceAmount returns the ConvenienceAmount field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetConvenienceAmount() float32 {
if o == nil || IsNil(o.ConvenienceAmount) {
var ret float32
return ret
}
return *o.ConvenienceAmount
}
// GetConvenienceAmountOk returns a tuple with the ConvenienceAmount field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetConvenienceAmountOk() (*float32, bool) {
if o == nil || IsNil(o.ConvenienceAmount) {
return nil, false
}
return o.ConvenienceAmount, true
}
// HasConvenienceAmount returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasConvenienceAmount() bool {
if o != nil && !IsNil(o.ConvenienceAmount) {
return true
}
return false
}
// SetConvenienceAmount gets a reference to the given float32 and assigns it to the ConvenienceAmount field.
func (o *MerchantTransactionEntityResponseDataInner) SetConvenienceAmount(v float32) {
o.ConvenienceAmount = &v
}
// GetCaptureAmount returns the CaptureAmount field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetCaptureAmount() float32 {
if o == nil || IsNil(o.CaptureAmount) {
var ret float32
return ret
}
return *o.CaptureAmount
}
// GetCaptureAmountOk returns a tuple with the CaptureAmount field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetCaptureAmountOk() (*float32, bool) {
if o == nil || IsNil(o.CaptureAmount) {
return nil, false
}
return o.CaptureAmount, true
}
// HasCaptureAmount returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasCaptureAmount() bool {
if o != nil && !IsNil(o.CaptureAmount) {
return true
}
return false
}
// SetCaptureAmount gets a reference to the given float32 and assigns it to the CaptureAmount field.
func (o *MerchantTransactionEntityResponseDataInner) SetCaptureAmount(v float32) {
o.CaptureAmount = &v
}
// GetCardType returns the CardType field value if set, zero value otherwise.
func (o *MerchantTransactionEntityResponseDataInner) GetCardType() string {
if o == nil || IsNil(o.CardType) {
var ret string
return ret
}
return *o.CardType
}
// GetCardTypeOk returns a tuple with the CardType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MerchantTransactionEntityResponseDataInner) GetCardTypeOk() (*string, bool) {
if o == nil || IsNil(o.CardType) {
return nil, false
}
return o.CardType, true
}
// HasCardType returns a boolean if a field has been set.
func (o *MerchantTransactionEntityResponseDataInner) HasCardType() bool {
if o != nil && !IsNil(o.CardType) {
return true
}
return false
}
// SetCardType gets a reference to the given string and assigns it to the CardType field.
func (o *MerchantTransactionEntityResponseDataInner) SetCardType(v string) {
o.CardType = &v
}