-
Notifications
You must be signed in to change notification settings - Fork 28
/
model_response_additional_data_common.go
2290 lines (1975 loc) · 80.3 KB
/
model_response_additional_data_common.go
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
/*
Adyen Payout API
API version: 68
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package payout
import (
"encoding/json"
"github.com/adyen/adyen-go-api-library/v9/src/common"
)
// checks if the ResponseAdditionalDataCommon type satisfies the MappedNullable interface at compile time
var _ common.MappedNullable = &ResponseAdditionalDataCommon{}
// ResponseAdditionalDataCommon struct for ResponseAdditionalDataCommon
type ResponseAdditionalDataCommon struct {
// The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions.
AcquirerAccountCode *string `json:"acquirerAccountCode,omitempty"`
// The name of the acquirer processing the payment request. Example: TestPmmAcquirer
AcquirerCode *string `json:"acquirerCode,omitempty"`
// The reference number that can be used for reconciliation in case a non-Adyen acquirer is used for settlement. Example: 7C9N3FNBKT9
AcquirerReference *string `json:"acquirerReference,omitempty"`
// The Adyen alias of the card. Example: H167852639363479
Alias *string `json:"alias,omitempty"`
// The type of the card alias. Example: Default
AliasType *string `json:"aliasType,omitempty"`
// Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. Example: 58747
AuthCode *string `json:"authCode,omitempty"`
// Merchant ID known by the acquirer.
AuthorisationMid *string `json:"authorisationMid,omitempty"`
// The currency of the authorised amount, as a three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes).
AuthorisedAmountCurrency *string `json:"authorisedAmountCurrency,omitempty"`
// Value of the amount authorised. This amount is represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes).
AuthorisedAmountValue *string `json:"authorisedAmountValue,omitempty"`
// The AVS result code of the payment, which provides information about the outcome of the AVS check. For possible values, see [AVS](https://docs.adyen.com/risk-management/configure-standard-risk-rules/consistency-rules#billing-address-does-not-match-cardholder-address-avs).
AvsResult *string `json:"avsResult,omitempty"`
// Raw AVS result received from the acquirer, where available. Example: D
AvsResultRaw *string `json:"avsResultRaw,omitempty"`
// BIC of a bank account. Example: TESTNL01 > Only relevant for SEPA Direct Debit transactions.
Bic *string `json:"bic,omitempty"`
// Includes the co-branded card information.
CoBrandedWith *string `json:"coBrandedWith,omitempty"`
// The result of CVC verification.
CvcResult *string `json:"cvcResult,omitempty"`
// The raw result of CVC verification.
CvcResultRaw *string `json:"cvcResultRaw,omitempty"`
// Supported for 3D Secure 2. The unique transaction identifier assigned by the DS to identify a single transaction.
DsTransID *string `json:"dsTransID,omitempty"`
// The Electronic Commerce Indicator returned from the schemes for the 3DS payment session. Example: 02
Eci *string `json:"eci,omitempty"`
// The expiry date on the card. Example: 6/2016 > Returned only in case of a card payment.
ExpiryDate *string `json:"expiryDate,omitempty"`
// The currency of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. Example: EUR
ExtraCostsCurrency *string `json:"extraCostsCurrency,omitempty"`
// The value of the extra amount charged due to additional amounts set in the skin used in the HPP payment request. The amount is in minor units.
ExtraCostsValue *string `json:"extraCostsValue,omitempty"`
// The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair.
FraudCheckItemNrFraudCheckname *string `json:"fraudCheck-[itemNr]-[FraudCheckname],omitempty"`
// Indicates if the payment is sent to manual review.
FraudManualReview *string `json:"fraudManualReview,omitempty"`
// The fraud result properties of the payment.
FraudResultType *string `json:"fraudResultType,omitempty"`
// Information regarding the funding type of the card. The possible return values are: * CHARGE * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * PREPAID_NONRELOADABLE * DEFFERED_DEBIT > This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team. For receiving this field in the notification, enable **Include Funding Source** in **Notifications** > **Additional settings**.
FundingSource *string `json:"fundingSource,omitempty"`
// Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if payoutEligible is \"Y\" or \"D\".
FundsAvailability *string `json:"fundsAvailability,omitempty"`
// Provides the more granular indication of why a transaction was refused. When a transaction fails with either \"Refused\", \"Restricted Card\", \"Transaction Not Permitted\", \"Not supported\" or \"DeclinedNon Generic\" refusalReason from the issuer, Adyen cross references its PSP-wide data for extra insight into the refusal reason. If an inferred refusal reason is available, the `inferredRefusalReason`, field is populated and the `refusalReason`, is set to \"Not Supported\". Possible values: * 3D Secure Mandated * Closed Account * ContAuth Not Supported * CVC Mandated * Ecommerce Not Allowed * Crossborder Not Supported * Card Updated * Low Authrate Bin * Non-reloadable prepaid card
InferredRefusalReason *string `json:"inferredRefusalReason,omitempty"`
// Indicates if the card is used for business purposes only.
IsCardCommercial *string `json:"isCardCommercial,omitempty"`
// The issuing country of the card based on the BIN list that Adyen maintains. Example: JP
IssuerCountry *string `json:"issuerCountry,omitempty"`
// A Boolean value indicating whether a liability shift was offered for this payment.
LiabilityShift *string `json:"liabilityShift,omitempty"`
// The `mcBankNetReferenceNumber`, is a minimum of six characters and a maximum of nine characters long. > Contact Support Team to enable this field.
McBankNetReferenceNumber *string `json:"mcBankNetReferenceNumber,omitempty"`
// The Merchant Advice Code (MAC) can be returned by Mastercard issuers for refused payments. If present, the MAC contains information about why the payment failed, and whether it can be retried. For more information see [Mastercard Merchant Advice Codes](https://docs.adyen.com/development-resources/raw-acquirer-responses#mastercard-merchant-advice-codes).
MerchantAdviceCode *string `json:"merchantAdviceCode,omitempty"`
// The reference provided for the transaction.
MerchantReference *string `json:"merchantReference,omitempty"`
// Returned in the response if you are not tokenizing with Adyen and are using the Merchant-initiated transactions (MIT) framework from Mastercard or Visa. This contains either the Mastercard Trace ID or the Visa Transaction ID.
NetworkTxReference *string `json:"networkTxReference,omitempty"`
// The owner name of a bank account. Only relevant for SEPA Direct Debit transactions.
OwnerName *string `json:"ownerName,omitempty"`
// The Payment Account Reference (PAR) value links a network token with the underlying primary account number (PAN). The PAR value consists of 29 uppercase alphanumeric characters.
PaymentAccountReference *string `json:"paymentAccountReference,omitempty"`
// The payment method used in the transaction.
PaymentMethod *string `json:"paymentMethod,omitempty"`
// The Adyen sub-variant of the payment method used for the payment request. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/development-resources/paymentmethodvariant). Example: mcpro
PaymentMethodVariant *string `json:"paymentMethodVariant,omitempty"`
// Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown)
PayoutEligible *string `json:"payoutEligible,omitempty"`
// The response code from the Real Time Account Updater service. Possible return values are: * CardChanged * CardExpiryChanged * CloseAccount * ContactCardAccountHolder
RealtimeAccountUpdaterStatus *string `json:"realtimeAccountUpdaterStatus,omitempty"`
// Message to be displayed on the terminal.
ReceiptFreeText *string `json:"receiptFreeText,omitempty"`
// The recurring contract types applicable to the transaction.
RecurringContractTypes *string `json:"recurring.contractTypes,omitempty"`
// The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen's end. To enable it, contact the Support Team.
RecurringFirstPspReference *string `json:"recurring.firstPspReference,omitempty"`
// The reference that uniquely identifies the recurring transaction.
RecurringRecurringDetailReference *string `json:"recurring.recurringDetailReference,omitempty"`
// The provided reference of the shopper for a recurring transaction.
RecurringShopperReference *string `json:"recurring.shopperReference,omitempty"`
// The processing model used for the recurring transaction.
RecurringProcessingModel *string `json:"recurringProcessingModel,omitempty"`
// If the payment is referred, this field is set to true. This field is unavailable if the payment is referred and is usually not returned with ecommerce transactions. Example: true
Referred *string `json:"referred,omitempty"`
// Raw refusal reason received from the acquirer, where available. Example: AUTHORISED
RefusalReasonRaw *string `json:"refusalReasonRaw,omitempty"`
// The amount of the payment request.
RequestAmount *string `json:"requestAmount,omitempty"`
// The currency of the payment request.
RequestCurrencyCode *string `json:"requestCurrencyCode,omitempty"`
// The shopper interaction type of the payment request. Example: Ecommerce
ShopperInteraction *string `json:"shopperInteraction,omitempty"`
// The shopperReference passed in the payment request. Example: AdyenTestShopperXX
ShopperReference *string `json:"shopperReference,omitempty"`
// The terminal ID used in a point-of-sale payment. Example: 06022622
TerminalId *string `json:"terminalId,omitempty"`
// A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true
ThreeDAuthenticated *string `json:"threeDAuthenticated,omitempty"`
// The raw 3DS authentication result from the card issuer. Example: N
ThreeDAuthenticatedResponse *string `json:"threeDAuthenticatedResponse,omitempty"`
// A Boolean value indicating whether 3DS was offered for this payment. Example: true
ThreeDOffered *string `json:"threeDOffered,omitempty"`
// The raw enrollment result from the 3DS directory services of the card schemes. Example: Y
ThreeDOfferedResponse *string `json:"threeDOfferedResponse,omitempty"`
// The 3D Secure 2 version.
ThreeDSVersion *string `json:"threeDSVersion,omitempty"`
// The `visaTransactionId`, has a fixed length of 15 numeric characters. > Contact Support Team to enable this field.
VisaTransactionId *string `json:"visaTransactionId,omitempty"`
// The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse 'N' or 'Y'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA=
Xid *string `json:"xid,omitempty"`
}
// NewResponseAdditionalDataCommon instantiates a new ResponseAdditionalDataCommon 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 NewResponseAdditionalDataCommon() *ResponseAdditionalDataCommon {
this := ResponseAdditionalDataCommon{}
return &this
}
// NewResponseAdditionalDataCommonWithDefaults instantiates a new ResponseAdditionalDataCommon 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 NewResponseAdditionalDataCommonWithDefaults() *ResponseAdditionalDataCommon {
this := ResponseAdditionalDataCommon{}
return &this
}
// GetAcquirerAccountCode returns the AcquirerAccountCode field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetAcquirerAccountCode() string {
if o == nil || common.IsNil(o.AcquirerAccountCode) {
var ret string
return ret
}
return *o.AcquirerAccountCode
}
// GetAcquirerAccountCodeOk returns a tuple with the AcquirerAccountCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetAcquirerAccountCodeOk() (*string, bool) {
if o == nil || common.IsNil(o.AcquirerAccountCode) {
return nil, false
}
return o.AcquirerAccountCode, true
}
// HasAcquirerAccountCode returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasAcquirerAccountCode() bool {
if o != nil && !common.IsNil(o.AcquirerAccountCode) {
return true
}
return false
}
// SetAcquirerAccountCode gets a reference to the given string and assigns it to the AcquirerAccountCode field.
func (o *ResponseAdditionalDataCommon) SetAcquirerAccountCode(v string) {
o.AcquirerAccountCode = &v
}
// GetAcquirerCode returns the AcquirerCode field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetAcquirerCode() string {
if o == nil || common.IsNil(o.AcquirerCode) {
var ret string
return ret
}
return *o.AcquirerCode
}
// GetAcquirerCodeOk returns a tuple with the AcquirerCode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetAcquirerCodeOk() (*string, bool) {
if o == nil || common.IsNil(o.AcquirerCode) {
return nil, false
}
return o.AcquirerCode, true
}
// HasAcquirerCode returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasAcquirerCode() bool {
if o != nil && !common.IsNil(o.AcquirerCode) {
return true
}
return false
}
// SetAcquirerCode gets a reference to the given string and assigns it to the AcquirerCode field.
func (o *ResponseAdditionalDataCommon) SetAcquirerCode(v string) {
o.AcquirerCode = &v
}
// GetAcquirerReference returns the AcquirerReference field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetAcquirerReference() string {
if o == nil || common.IsNil(o.AcquirerReference) {
var ret string
return ret
}
return *o.AcquirerReference
}
// GetAcquirerReferenceOk returns a tuple with the AcquirerReference field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetAcquirerReferenceOk() (*string, bool) {
if o == nil || common.IsNil(o.AcquirerReference) {
return nil, false
}
return o.AcquirerReference, true
}
// HasAcquirerReference returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasAcquirerReference() bool {
if o != nil && !common.IsNil(o.AcquirerReference) {
return true
}
return false
}
// SetAcquirerReference gets a reference to the given string and assigns it to the AcquirerReference field.
func (o *ResponseAdditionalDataCommon) SetAcquirerReference(v string) {
o.AcquirerReference = &v
}
// GetAlias returns the Alias field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetAlias() string {
if o == nil || common.IsNil(o.Alias) {
var ret string
return ret
}
return *o.Alias
}
// GetAliasOk returns a tuple with the Alias field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetAliasOk() (*string, bool) {
if o == nil || common.IsNil(o.Alias) {
return nil, false
}
return o.Alias, true
}
// HasAlias returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasAlias() bool {
if o != nil && !common.IsNil(o.Alias) {
return true
}
return false
}
// SetAlias gets a reference to the given string and assigns it to the Alias field.
func (o *ResponseAdditionalDataCommon) SetAlias(v string) {
o.Alias = &v
}
// GetAliasType returns the AliasType field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetAliasType() string {
if o == nil || common.IsNil(o.AliasType) {
var ret string
return ret
}
return *o.AliasType
}
// GetAliasTypeOk returns a tuple with the AliasType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetAliasTypeOk() (*string, bool) {
if o == nil || common.IsNil(o.AliasType) {
return nil, false
}
return o.AliasType, true
}
// HasAliasType returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasAliasType() bool {
if o != nil && !common.IsNil(o.AliasType) {
return true
}
return false
}
// SetAliasType gets a reference to the given string and assigns it to the AliasType field.
func (o *ResponseAdditionalDataCommon) SetAliasType(v string) {
o.AliasType = &v
}
// GetAuthCode returns the AuthCode field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetAuthCode() string {
if o == nil || common.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 *ResponseAdditionalDataCommon) GetAuthCodeOk() (*string, bool) {
if o == nil || common.IsNil(o.AuthCode) {
return nil, false
}
return o.AuthCode, true
}
// HasAuthCode returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasAuthCode() bool {
if o != nil && !common.IsNil(o.AuthCode) {
return true
}
return false
}
// SetAuthCode gets a reference to the given string and assigns it to the AuthCode field.
func (o *ResponseAdditionalDataCommon) SetAuthCode(v string) {
o.AuthCode = &v
}
// GetAuthorisationMid returns the AuthorisationMid field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetAuthorisationMid() string {
if o == nil || common.IsNil(o.AuthorisationMid) {
var ret string
return ret
}
return *o.AuthorisationMid
}
// GetAuthorisationMidOk returns a tuple with the AuthorisationMid field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetAuthorisationMidOk() (*string, bool) {
if o == nil || common.IsNil(o.AuthorisationMid) {
return nil, false
}
return o.AuthorisationMid, true
}
// HasAuthorisationMid returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasAuthorisationMid() bool {
if o != nil && !common.IsNil(o.AuthorisationMid) {
return true
}
return false
}
// SetAuthorisationMid gets a reference to the given string and assigns it to the AuthorisationMid field.
func (o *ResponseAdditionalDataCommon) SetAuthorisationMid(v string) {
o.AuthorisationMid = &v
}
// GetAuthorisedAmountCurrency returns the AuthorisedAmountCurrency field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetAuthorisedAmountCurrency() string {
if o == nil || common.IsNil(o.AuthorisedAmountCurrency) {
var ret string
return ret
}
return *o.AuthorisedAmountCurrency
}
// GetAuthorisedAmountCurrencyOk returns a tuple with the AuthorisedAmountCurrency field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetAuthorisedAmountCurrencyOk() (*string, bool) {
if o == nil || common.IsNil(o.AuthorisedAmountCurrency) {
return nil, false
}
return o.AuthorisedAmountCurrency, true
}
// HasAuthorisedAmountCurrency returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasAuthorisedAmountCurrency() bool {
if o != nil && !common.IsNil(o.AuthorisedAmountCurrency) {
return true
}
return false
}
// SetAuthorisedAmountCurrency gets a reference to the given string and assigns it to the AuthorisedAmountCurrency field.
func (o *ResponseAdditionalDataCommon) SetAuthorisedAmountCurrency(v string) {
o.AuthorisedAmountCurrency = &v
}
// GetAuthorisedAmountValue returns the AuthorisedAmountValue field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetAuthorisedAmountValue() string {
if o == nil || common.IsNil(o.AuthorisedAmountValue) {
var ret string
return ret
}
return *o.AuthorisedAmountValue
}
// GetAuthorisedAmountValueOk returns a tuple with the AuthorisedAmountValue field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetAuthorisedAmountValueOk() (*string, bool) {
if o == nil || common.IsNil(o.AuthorisedAmountValue) {
return nil, false
}
return o.AuthorisedAmountValue, true
}
// HasAuthorisedAmountValue returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasAuthorisedAmountValue() bool {
if o != nil && !common.IsNil(o.AuthorisedAmountValue) {
return true
}
return false
}
// SetAuthorisedAmountValue gets a reference to the given string and assigns it to the AuthorisedAmountValue field.
func (o *ResponseAdditionalDataCommon) SetAuthorisedAmountValue(v string) {
o.AuthorisedAmountValue = &v
}
// GetAvsResult returns the AvsResult field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetAvsResult() string {
if o == nil || common.IsNil(o.AvsResult) {
var ret string
return ret
}
return *o.AvsResult
}
// GetAvsResultOk returns a tuple with the AvsResult field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetAvsResultOk() (*string, bool) {
if o == nil || common.IsNil(o.AvsResult) {
return nil, false
}
return o.AvsResult, true
}
// HasAvsResult returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasAvsResult() bool {
if o != nil && !common.IsNil(o.AvsResult) {
return true
}
return false
}
// SetAvsResult gets a reference to the given string and assigns it to the AvsResult field.
func (o *ResponseAdditionalDataCommon) SetAvsResult(v string) {
o.AvsResult = &v
}
// GetAvsResultRaw returns the AvsResultRaw field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetAvsResultRaw() string {
if o == nil || common.IsNil(o.AvsResultRaw) {
var ret string
return ret
}
return *o.AvsResultRaw
}
// GetAvsResultRawOk returns a tuple with the AvsResultRaw field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetAvsResultRawOk() (*string, bool) {
if o == nil || common.IsNil(o.AvsResultRaw) {
return nil, false
}
return o.AvsResultRaw, true
}
// HasAvsResultRaw returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasAvsResultRaw() bool {
if o != nil && !common.IsNil(o.AvsResultRaw) {
return true
}
return false
}
// SetAvsResultRaw gets a reference to the given string and assigns it to the AvsResultRaw field.
func (o *ResponseAdditionalDataCommon) SetAvsResultRaw(v string) {
o.AvsResultRaw = &v
}
// GetBic returns the Bic field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetBic() string {
if o == nil || common.IsNil(o.Bic) {
var ret string
return ret
}
return *o.Bic
}
// GetBicOk returns a tuple with the Bic field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetBicOk() (*string, bool) {
if o == nil || common.IsNil(o.Bic) {
return nil, false
}
return o.Bic, true
}
// HasBic returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasBic() bool {
if o != nil && !common.IsNil(o.Bic) {
return true
}
return false
}
// SetBic gets a reference to the given string and assigns it to the Bic field.
func (o *ResponseAdditionalDataCommon) SetBic(v string) {
o.Bic = &v
}
// GetCoBrandedWith returns the CoBrandedWith field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetCoBrandedWith() string {
if o == nil || common.IsNil(o.CoBrandedWith) {
var ret string
return ret
}
return *o.CoBrandedWith
}
// GetCoBrandedWithOk returns a tuple with the CoBrandedWith field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetCoBrandedWithOk() (*string, bool) {
if o == nil || common.IsNil(o.CoBrandedWith) {
return nil, false
}
return o.CoBrandedWith, true
}
// HasCoBrandedWith returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasCoBrandedWith() bool {
if o != nil && !common.IsNil(o.CoBrandedWith) {
return true
}
return false
}
// SetCoBrandedWith gets a reference to the given string and assigns it to the CoBrandedWith field.
func (o *ResponseAdditionalDataCommon) SetCoBrandedWith(v string) {
o.CoBrandedWith = &v
}
// GetCvcResult returns the CvcResult field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetCvcResult() string {
if o == nil || common.IsNil(o.CvcResult) {
var ret string
return ret
}
return *o.CvcResult
}
// GetCvcResultOk returns a tuple with the CvcResult field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetCvcResultOk() (*string, bool) {
if o == nil || common.IsNil(o.CvcResult) {
return nil, false
}
return o.CvcResult, true
}
// HasCvcResult returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasCvcResult() bool {
if o != nil && !common.IsNil(o.CvcResult) {
return true
}
return false
}
// SetCvcResult gets a reference to the given string and assigns it to the CvcResult field.
func (o *ResponseAdditionalDataCommon) SetCvcResult(v string) {
o.CvcResult = &v
}
// GetCvcResultRaw returns the CvcResultRaw field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetCvcResultRaw() string {
if o == nil || common.IsNil(o.CvcResultRaw) {
var ret string
return ret
}
return *o.CvcResultRaw
}
// GetCvcResultRawOk returns a tuple with the CvcResultRaw field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetCvcResultRawOk() (*string, bool) {
if o == nil || common.IsNil(o.CvcResultRaw) {
return nil, false
}
return o.CvcResultRaw, true
}
// HasCvcResultRaw returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasCvcResultRaw() bool {
if o != nil && !common.IsNil(o.CvcResultRaw) {
return true
}
return false
}
// SetCvcResultRaw gets a reference to the given string and assigns it to the CvcResultRaw field.
func (o *ResponseAdditionalDataCommon) SetCvcResultRaw(v string) {
o.CvcResultRaw = &v
}
// GetDsTransID returns the DsTransID field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetDsTransID() string {
if o == nil || common.IsNil(o.DsTransID) {
var ret string
return ret
}
return *o.DsTransID
}
// GetDsTransIDOk returns a tuple with the DsTransID field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetDsTransIDOk() (*string, bool) {
if o == nil || common.IsNil(o.DsTransID) {
return nil, false
}
return o.DsTransID, true
}
// HasDsTransID returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasDsTransID() bool {
if o != nil && !common.IsNil(o.DsTransID) {
return true
}
return false
}
// SetDsTransID gets a reference to the given string and assigns it to the DsTransID field.
func (o *ResponseAdditionalDataCommon) SetDsTransID(v string) {
o.DsTransID = &v
}
// GetEci returns the Eci field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetEci() string {
if o == nil || common.IsNil(o.Eci) {
var ret string
return ret
}
return *o.Eci
}
// GetEciOk returns a tuple with the Eci field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetEciOk() (*string, bool) {
if o == nil || common.IsNil(o.Eci) {
return nil, false
}
return o.Eci, true
}
// HasEci returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasEci() bool {
if o != nil && !common.IsNil(o.Eci) {
return true
}
return false
}
// SetEci gets a reference to the given string and assigns it to the Eci field.
func (o *ResponseAdditionalDataCommon) SetEci(v string) {
o.Eci = &v
}
// GetExpiryDate returns the ExpiryDate field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetExpiryDate() string {
if o == nil || common.IsNil(o.ExpiryDate) {
var ret string
return ret
}
return *o.ExpiryDate
}
// GetExpiryDateOk returns a tuple with the ExpiryDate field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetExpiryDateOk() (*string, bool) {
if o == nil || common.IsNil(o.ExpiryDate) {
return nil, false
}
return o.ExpiryDate, true
}
// HasExpiryDate returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasExpiryDate() bool {
if o != nil && !common.IsNil(o.ExpiryDate) {
return true
}
return false
}
// SetExpiryDate gets a reference to the given string and assigns it to the ExpiryDate field.
func (o *ResponseAdditionalDataCommon) SetExpiryDate(v string) {
o.ExpiryDate = &v
}
// GetExtraCostsCurrency returns the ExtraCostsCurrency field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetExtraCostsCurrency() string {
if o == nil || common.IsNil(o.ExtraCostsCurrency) {
var ret string
return ret
}
return *o.ExtraCostsCurrency
}
// GetExtraCostsCurrencyOk returns a tuple with the ExtraCostsCurrency field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetExtraCostsCurrencyOk() (*string, bool) {
if o == nil || common.IsNil(o.ExtraCostsCurrency) {
return nil, false
}
return o.ExtraCostsCurrency, true
}
// HasExtraCostsCurrency returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasExtraCostsCurrency() bool {
if o != nil && !common.IsNil(o.ExtraCostsCurrency) {
return true
}
return false
}
// SetExtraCostsCurrency gets a reference to the given string and assigns it to the ExtraCostsCurrency field.
func (o *ResponseAdditionalDataCommon) SetExtraCostsCurrency(v string) {
o.ExtraCostsCurrency = &v
}
// GetExtraCostsValue returns the ExtraCostsValue field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetExtraCostsValue() string {
if o == nil || common.IsNil(o.ExtraCostsValue) {
var ret string
return ret
}
return *o.ExtraCostsValue
}
// GetExtraCostsValueOk returns a tuple with the ExtraCostsValue field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetExtraCostsValueOk() (*string, bool) {
if o == nil || common.IsNil(o.ExtraCostsValue) {
return nil, false
}
return o.ExtraCostsValue, true
}
// HasExtraCostsValue returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasExtraCostsValue() bool {
if o != nil && !common.IsNil(o.ExtraCostsValue) {
return true
}
return false
}
// SetExtraCostsValue gets a reference to the given string and assigns it to the ExtraCostsValue field.
func (o *ResponseAdditionalDataCommon) SetExtraCostsValue(v string) {
o.ExtraCostsValue = &v
}
// GetFraudCheckItemNrFraudCheckname returns the FraudCheckItemNrFraudCheckname field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetFraudCheckItemNrFraudCheckname() string {
if o == nil || common.IsNil(o.FraudCheckItemNrFraudCheckname) {
var ret string
return ret
}
return *o.FraudCheckItemNrFraudCheckname
}
// GetFraudCheckItemNrFraudChecknameOk returns a tuple with the FraudCheckItemNrFraudCheckname field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetFraudCheckItemNrFraudChecknameOk() (*string, bool) {
if o == nil || common.IsNil(o.FraudCheckItemNrFraudCheckname) {
return nil, false
}
return o.FraudCheckItemNrFraudCheckname, true
}
// HasFraudCheckItemNrFraudCheckname returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasFraudCheckItemNrFraudCheckname() bool {
if o != nil && !common.IsNil(o.FraudCheckItemNrFraudCheckname) {
return true
}
return false
}
// SetFraudCheckItemNrFraudCheckname gets a reference to the given string and assigns it to the FraudCheckItemNrFraudCheckname field.
func (o *ResponseAdditionalDataCommon) SetFraudCheckItemNrFraudCheckname(v string) {
o.FraudCheckItemNrFraudCheckname = &v
}
// GetFraudManualReview returns the FraudManualReview field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetFraudManualReview() string {
if o == nil || common.IsNil(o.FraudManualReview) {
var ret string
return ret
}
return *o.FraudManualReview
}
// GetFraudManualReviewOk returns a tuple with the FraudManualReview field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetFraudManualReviewOk() (*string, bool) {
if o == nil || common.IsNil(o.FraudManualReview) {
return nil, false
}
return o.FraudManualReview, true
}
// HasFraudManualReview returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasFraudManualReview() bool {
if o != nil && !common.IsNil(o.FraudManualReview) {
return true
}
return false
}
// SetFraudManualReview gets a reference to the given string and assigns it to the FraudManualReview field.
func (o *ResponseAdditionalDataCommon) SetFraudManualReview(v string) {
o.FraudManualReview = &v
}
// GetFraudResultType returns the FraudResultType field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetFraudResultType() string {
if o == nil || common.IsNil(o.FraudResultType) {
var ret string
return ret
}
return *o.FraudResultType
}
// GetFraudResultTypeOk returns a tuple with the FraudResultType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetFraudResultTypeOk() (*string, bool) {
if o == nil || common.IsNil(o.FraudResultType) {
return nil, false
}
return o.FraudResultType, true
}
// HasFraudResultType returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasFraudResultType() bool {
if o != nil && !common.IsNil(o.FraudResultType) {
return true
}
return false
}
// SetFraudResultType gets a reference to the given string and assigns it to the FraudResultType field.
func (o *ResponseAdditionalDataCommon) SetFraudResultType(v string) {
o.FraudResultType = &v
}
// GetFundingSource returns the FundingSource field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetFundingSource() string {
if o == nil || common.IsNil(o.FundingSource) {
var ret string
return ret
}
return *o.FundingSource
}
// GetFundingSourceOk returns a tuple with the FundingSource field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetFundingSourceOk() (*string, bool) {
if o == nil || common.IsNil(o.FundingSource) {
return nil, false
}
return o.FundingSource, true
}
// HasFundingSource returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasFundingSource() bool {
if o != nil && !common.IsNil(o.FundingSource) {
return true
}
return false
}
// SetFundingSource gets a reference to the given string and assigns it to the FundingSource field.
func (o *ResponseAdditionalDataCommon) SetFundingSource(v string) {
o.FundingSource = &v
}
// GetFundsAvailability returns the FundsAvailability field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetFundsAvailability() string {
if o == nil || common.IsNil(o.FundsAvailability) {
var ret string
return ret
}
return *o.FundsAvailability
}
// GetFundsAvailabilityOk returns a tuple with the FundsAvailability field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetFundsAvailabilityOk() (*string, bool) {
if o == nil || common.IsNil(o.FundsAvailability) {
return nil, false
}
return o.FundsAvailability, true
}
// HasFundsAvailability returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasFundsAvailability() bool {
if o != nil && !common.IsNil(o.FundsAvailability) {
return true
}
return false
}
// SetFundsAvailability gets a reference to the given string and assigns it to the FundsAvailability field.
func (o *ResponseAdditionalDataCommon) SetFundsAvailability(v string) {
o.FundsAvailability = &v
}
// GetInferredRefusalReason returns the InferredRefusalReason field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetInferredRefusalReason() string {
if o == nil || common.IsNil(o.InferredRefusalReason) {
var ret string
return ret
}
return *o.InferredRefusalReason
}
// GetInferredRefusalReasonOk returns a tuple with the InferredRefusalReason field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResponseAdditionalDataCommon) GetInferredRefusalReasonOk() (*string, bool) {
if o == nil || common.IsNil(o.InferredRefusalReason) {
return nil, false
}
return o.InferredRefusalReason, true
}
// HasInferredRefusalReason returns a boolean if a field has been set.
func (o *ResponseAdditionalDataCommon) HasInferredRefusalReason() bool {
if o != nil && !common.IsNil(o.InferredRefusalReason) {
return true
}
return false
}
// SetInferredRefusalReason gets a reference to the given string and assigns it to the InferredRefusalReason field.
func (o *ResponseAdditionalDataCommon) SetInferredRefusalReason(v string) {
o.InferredRefusalReason = &v
}
// GetIsCardCommercial returns the IsCardCommercial field value if set, zero value otherwise.
func (o *ResponseAdditionalDataCommon) GetIsCardCommercial() string {
if o == nil || common.IsNil(o.IsCardCommercial) {
var ret string
return ret
}
return *o.IsCardCommercial
}
// GetIsCardCommercialOk returns a tuple with the IsCardCommercial field value if set, nil otherwise