increase 1.71.0 → 1.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +18 -18
- data/lib/increase/models/declined_transaction.rb +6 -6
- data/lib/increase/models/entity_update_params.rb +11 -1
- data/lib/increase/models/pending_transaction.rb +6 -6
- data/lib/increase/models/real_time_decision.rb +31 -7
- data/lib/increase/models/real_time_decision_action_params.rb +184 -4
- data/lib/increase/resources/entities.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +30 -30
- data/rbi/increase/models/declined_transaction.rbi +10 -10
- data/rbi/increase/models/entity_update_params.rbi +15 -0
- data/rbi/increase/models/pending_transaction.rbi +10 -10
- data/rbi/increase/models/real_time_decision.rbi +67 -10
- data/rbi/increase/models/real_time_decision_action_params.rbi +400 -3
- data/rbi/increase/resources/entities.rbi +5 -0
- data/sig/increase/models/card_payment.rbs +21 -21
- data/sig/increase/models/declined_transaction.rbs +7 -7
- data/sig/increase/models/entity_update_params.rbs +7 -0
- data/sig/increase/models/pending_transaction.rbs +7 -7
- data/sig/increase/models/real_time_decision.rbs +22 -7
- data/sig/increase/models/real_time_decision_action_params.rbs +138 -0
- data/sig/increase/resources/entities.rbs +1 -0
- metadata +2 -2
@@ -347,8 +347,50 @@ module Increase
|
|
347
347
|
end
|
348
348
|
attr_accessor :decision
|
349
349
|
|
350
|
+
# If your application approves the authorization, this contains metadata about
|
351
|
+
# your decision to approve. Your response here is advisory to the acquiring bank.
|
352
|
+
# The bank may choose to reverse the authorization if you approve the transaction
|
353
|
+
# but indicate the address does not match.
|
354
|
+
sig do
|
355
|
+
returns(
|
356
|
+
T.nilable(
|
357
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval
|
358
|
+
)
|
359
|
+
)
|
360
|
+
end
|
361
|
+
attr_reader :approval
|
362
|
+
|
363
|
+
sig do
|
364
|
+
params(
|
365
|
+
approval:
|
366
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::OrHash
|
367
|
+
).void
|
368
|
+
end
|
369
|
+
attr_writer :approval
|
370
|
+
|
371
|
+
# If your application declines the authorization, this contains details about the
|
372
|
+
# decline.
|
373
|
+
sig do
|
374
|
+
returns(
|
375
|
+
T.nilable(
|
376
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline
|
377
|
+
)
|
378
|
+
)
|
379
|
+
end
|
380
|
+
attr_reader :decline
|
381
|
+
|
382
|
+
sig do
|
383
|
+
params(
|
384
|
+
decline:
|
385
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::OrHash
|
386
|
+
).void
|
387
|
+
end
|
388
|
+
attr_writer :decline
|
389
|
+
|
350
390
|
# The reason the card authorization was declined. This translates to a specific
|
351
|
-
# decline code that is sent to the card network.
|
391
|
+
# decline code that is sent to the card network. This field is deprecated, please
|
392
|
+
# transition to using the `decline` object as this field will be removed in a
|
393
|
+
# future release.
|
352
394
|
sig do
|
353
395
|
returns(
|
354
396
|
T.nilable(
|
@@ -372,6 +414,10 @@ module Increase
|
|
372
414
|
params(
|
373
415
|
decision:
|
374
416
|
Increase::RealTimeDecisionActionParams::CardAuthorization::Decision::OrSymbol,
|
417
|
+
approval:
|
418
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::OrHash,
|
419
|
+
decline:
|
420
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::OrHash,
|
375
421
|
decline_reason:
|
376
422
|
Increase::RealTimeDecisionActionParams::CardAuthorization::DeclineReason::OrSymbol
|
377
423
|
).returns(T.attached_class)
|
@@ -379,8 +425,18 @@ module Increase
|
|
379
425
|
def self.new(
|
380
426
|
# Whether the card authorization should be approved or declined.
|
381
427
|
decision:,
|
428
|
+
# If your application approves the authorization, this contains metadata about
|
429
|
+
# your decision to approve. Your response here is advisory to the acquiring bank.
|
430
|
+
# The bank may choose to reverse the authorization if you approve the transaction
|
431
|
+
# but indicate the address does not match.
|
432
|
+
approval: nil,
|
433
|
+
# If your application declines the authorization, this contains details about the
|
434
|
+
# decline.
|
435
|
+
decline: nil,
|
382
436
|
# The reason the card authorization was declined. This translates to a specific
|
383
|
-
# decline code that is sent to the card network.
|
437
|
+
# decline code that is sent to the card network. This field is deprecated, please
|
438
|
+
# transition to using the `decline` object as this field will be removed in a
|
439
|
+
# future release.
|
384
440
|
decline_reason: nil
|
385
441
|
)
|
386
442
|
end
|
@@ -390,6 +446,10 @@ module Increase
|
|
390
446
|
{
|
391
447
|
decision:
|
392
448
|
Increase::RealTimeDecisionActionParams::CardAuthorization::Decision::OrSymbol,
|
449
|
+
approval:
|
450
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval,
|
451
|
+
decline:
|
452
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline,
|
393
453
|
decline_reason:
|
394
454
|
Increase::RealTimeDecisionActionParams::CardAuthorization::DeclineReason::OrSymbol
|
395
455
|
}
|
@@ -436,8 +496,339 @@ module Increase
|
|
436
496
|
end
|
437
497
|
end
|
438
498
|
|
499
|
+
class Approval < Increase::Internal::Type::BaseModel
|
500
|
+
OrHash =
|
501
|
+
T.type_alias do
|
502
|
+
T.any(
|
503
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval,
|
504
|
+
Increase::Internal::AnyHash
|
505
|
+
)
|
506
|
+
end
|
507
|
+
|
508
|
+
# Your decisions on whether or not each provided address component is a match.
|
509
|
+
# Your response here is evaluated against the customer's provided `postal_code`
|
510
|
+
# and `line1`, and an appropriate network response is generated. For example, if
|
511
|
+
# you would like to approve all transactions for a given card, you can submit
|
512
|
+
# `match` for both `postal_code` and `line1` and Increase will generate an
|
513
|
+
# approval with an Address Verification System (AVS) code that will match all of
|
514
|
+
# the available address information, or will report that no check was performed if
|
515
|
+
# no address information is available. If you do not provide a response, the
|
516
|
+
# address verification result will be calculated by Increase using the available
|
517
|
+
# address information available on the card. If none is available, Increase will
|
518
|
+
# report that no check was performed.
|
519
|
+
sig do
|
520
|
+
returns(
|
521
|
+
T.nilable(
|
522
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult
|
523
|
+
)
|
524
|
+
)
|
525
|
+
end
|
526
|
+
attr_reader :cardholder_address_verification_result
|
527
|
+
|
528
|
+
sig do
|
529
|
+
params(
|
530
|
+
cardholder_address_verification_result:
|
531
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::OrHash
|
532
|
+
).void
|
533
|
+
end
|
534
|
+
attr_writer :cardholder_address_verification_result
|
535
|
+
|
536
|
+
# If your application approves the authorization, this contains metadata about
|
537
|
+
# your decision to approve. Your response here is advisory to the acquiring bank.
|
538
|
+
# The bank may choose to reverse the authorization if you approve the transaction
|
539
|
+
# but indicate the address does not match.
|
540
|
+
sig do
|
541
|
+
params(
|
542
|
+
cardholder_address_verification_result:
|
543
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::OrHash
|
544
|
+
).returns(T.attached_class)
|
545
|
+
end
|
546
|
+
def self.new(
|
547
|
+
# Your decisions on whether or not each provided address component is a match.
|
548
|
+
# Your response here is evaluated against the customer's provided `postal_code`
|
549
|
+
# and `line1`, and an appropriate network response is generated. For example, if
|
550
|
+
# you would like to approve all transactions for a given card, you can submit
|
551
|
+
# `match` for both `postal_code` and `line1` and Increase will generate an
|
552
|
+
# approval with an Address Verification System (AVS) code that will match all of
|
553
|
+
# the available address information, or will report that no check was performed if
|
554
|
+
# no address information is available. If you do not provide a response, the
|
555
|
+
# address verification result will be calculated by Increase using the available
|
556
|
+
# address information available on the card. If none is available, Increase will
|
557
|
+
# report that no check was performed.
|
558
|
+
cardholder_address_verification_result: nil
|
559
|
+
)
|
560
|
+
end
|
561
|
+
|
562
|
+
sig do
|
563
|
+
override.returns(
|
564
|
+
{
|
565
|
+
cardholder_address_verification_result:
|
566
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult
|
567
|
+
}
|
568
|
+
)
|
569
|
+
end
|
570
|
+
def to_hash
|
571
|
+
end
|
572
|
+
|
573
|
+
class CardholderAddressVerificationResult < Increase::Internal::Type::BaseModel
|
574
|
+
OrHash =
|
575
|
+
T.type_alias do
|
576
|
+
T.any(
|
577
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult,
|
578
|
+
Increase::Internal::AnyHash
|
579
|
+
)
|
580
|
+
end
|
581
|
+
|
582
|
+
# Your decision on the address line of the provided address.
|
583
|
+
sig do
|
584
|
+
returns(
|
585
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1::OrSymbol
|
586
|
+
)
|
587
|
+
end
|
588
|
+
attr_accessor :line1
|
589
|
+
|
590
|
+
# Your decision on the postal code of the provided address.
|
591
|
+
sig do
|
592
|
+
returns(
|
593
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode::OrSymbol
|
594
|
+
)
|
595
|
+
end
|
596
|
+
attr_accessor :postal_code
|
597
|
+
|
598
|
+
# Your decisions on whether or not each provided address component is a match.
|
599
|
+
# Your response here is evaluated against the customer's provided `postal_code`
|
600
|
+
# and `line1`, and an appropriate network response is generated. For example, if
|
601
|
+
# you would like to approve all transactions for a given card, you can submit
|
602
|
+
# `match` for both `postal_code` and `line1` and Increase will generate an
|
603
|
+
# approval with an Address Verification System (AVS) code that will match all of
|
604
|
+
# the available address information, or will report that no check was performed if
|
605
|
+
# no address information is available. If you do not provide a response, the
|
606
|
+
# address verification result will be calculated by Increase using the available
|
607
|
+
# address information available on the card. If none is available, Increase will
|
608
|
+
# report that no check was performed.
|
609
|
+
sig do
|
610
|
+
params(
|
611
|
+
line1:
|
612
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1::OrSymbol,
|
613
|
+
postal_code:
|
614
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode::OrSymbol
|
615
|
+
).returns(T.attached_class)
|
616
|
+
end
|
617
|
+
def self.new(
|
618
|
+
# Your decision on the address line of the provided address.
|
619
|
+
line1:,
|
620
|
+
# Your decision on the postal code of the provided address.
|
621
|
+
postal_code:
|
622
|
+
)
|
623
|
+
end
|
624
|
+
|
625
|
+
sig do
|
626
|
+
override.returns(
|
627
|
+
{
|
628
|
+
line1:
|
629
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1::OrSymbol,
|
630
|
+
postal_code:
|
631
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode::OrSymbol
|
632
|
+
}
|
633
|
+
)
|
634
|
+
end
|
635
|
+
def to_hash
|
636
|
+
end
|
637
|
+
|
638
|
+
# Your decision on the address line of the provided address.
|
639
|
+
module Line1
|
640
|
+
extend Increase::Internal::Type::Enum
|
641
|
+
|
642
|
+
TaggedSymbol =
|
643
|
+
T.type_alias do
|
644
|
+
T.all(
|
645
|
+
Symbol,
|
646
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1
|
647
|
+
)
|
648
|
+
end
|
649
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
650
|
+
|
651
|
+
# The cardholder address verification result matches the address provided by the merchant.
|
652
|
+
MATCH =
|
653
|
+
T.let(
|
654
|
+
:match,
|
655
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1::TaggedSymbol
|
656
|
+
)
|
657
|
+
|
658
|
+
# The cardholder address verification result does not match the address provided by the merchant.
|
659
|
+
NO_MATCH =
|
660
|
+
T.let(
|
661
|
+
:no_match,
|
662
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1::TaggedSymbol
|
663
|
+
)
|
664
|
+
|
665
|
+
sig do
|
666
|
+
override.returns(
|
667
|
+
T::Array[
|
668
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1::TaggedSymbol
|
669
|
+
]
|
670
|
+
)
|
671
|
+
end
|
672
|
+
def self.values
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
676
|
+
# Your decision on the postal code of the provided address.
|
677
|
+
module PostalCode
|
678
|
+
extend Increase::Internal::Type::Enum
|
679
|
+
|
680
|
+
TaggedSymbol =
|
681
|
+
T.type_alias do
|
682
|
+
T.all(
|
683
|
+
Symbol,
|
684
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode
|
685
|
+
)
|
686
|
+
end
|
687
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
688
|
+
|
689
|
+
# The cardholder address verification result matches the address provided by the merchant.
|
690
|
+
MATCH =
|
691
|
+
T.let(
|
692
|
+
:match,
|
693
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode::TaggedSymbol
|
694
|
+
)
|
695
|
+
|
696
|
+
# The cardholder address verification result does not match the address provided by the merchant.
|
697
|
+
NO_MATCH =
|
698
|
+
T.let(
|
699
|
+
:no_match,
|
700
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode::TaggedSymbol
|
701
|
+
)
|
702
|
+
|
703
|
+
sig do
|
704
|
+
override.returns(
|
705
|
+
T::Array[
|
706
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode::TaggedSymbol
|
707
|
+
]
|
708
|
+
)
|
709
|
+
end
|
710
|
+
def self.values
|
711
|
+
end
|
712
|
+
end
|
713
|
+
end
|
714
|
+
end
|
715
|
+
|
716
|
+
class Decline < Increase::Internal::Type::BaseModel
|
717
|
+
OrHash =
|
718
|
+
T.type_alias do
|
719
|
+
T.any(
|
720
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline,
|
721
|
+
Increase::Internal::AnyHash
|
722
|
+
)
|
723
|
+
end
|
724
|
+
|
725
|
+
# The reason the card authorization was declined. This translates to a specific
|
726
|
+
# decline code that is sent to the card network.
|
727
|
+
sig do
|
728
|
+
returns(
|
729
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::OrSymbol
|
730
|
+
)
|
731
|
+
end
|
732
|
+
attr_accessor :reason
|
733
|
+
|
734
|
+
# If your application declines the authorization, this contains details about the
|
735
|
+
# decline.
|
736
|
+
sig do
|
737
|
+
params(
|
738
|
+
reason:
|
739
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::OrSymbol
|
740
|
+
).returns(T.attached_class)
|
741
|
+
end
|
742
|
+
def self.new(
|
743
|
+
# The reason the card authorization was declined. This translates to a specific
|
744
|
+
# decline code that is sent to the card network.
|
745
|
+
reason:
|
746
|
+
)
|
747
|
+
end
|
748
|
+
|
749
|
+
sig do
|
750
|
+
override.returns(
|
751
|
+
{
|
752
|
+
reason:
|
753
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::OrSymbol
|
754
|
+
}
|
755
|
+
)
|
756
|
+
end
|
757
|
+
def to_hash
|
758
|
+
end
|
759
|
+
|
760
|
+
# The reason the card authorization was declined. This translates to a specific
|
761
|
+
# decline code that is sent to the card network.
|
762
|
+
module Reason
|
763
|
+
extend Increase::Internal::Type::Enum
|
764
|
+
|
765
|
+
TaggedSymbol =
|
766
|
+
T.type_alias do
|
767
|
+
T.all(
|
768
|
+
Symbol,
|
769
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason
|
770
|
+
)
|
771
|
+
end
|
772
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
773
|
+
|
774
|
+
# The cardholder does not have sufficient funds to cover the transaction. The merchant may attempt to process the transaction again.
|
775
|
+
INSUFFICIENT_FUNDS =
|
776
|
+
T.let(
|
777
|
+
:insufficient_funds,
|
778
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::TaggedSymbol
|
779
|
+
)
|
780
|
+
|
781
|
+
# This type of transaction is not allowed for this card. This transaction should not be retried.
|
782
|
+
TRANSACTION_NEVER_ALLOWED =
|
783
|
+
T.let(
|
784
|
+
:transaction_never_allowed,
|
785
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::TaggedSymbol
|
786
|
+
)
|
787
|
+
|
788
|
+
# The transaction amount exceeds the cardholder's approval limit. The merchant may attempt to process the transaction again.
|
789
|
+
EXCEEDS_APPROVAL_LIMIT =
|
790
|
+
T.let(
|
791
|
+
:exceeds_approval_limit,
|
792
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::TaggedSymbol
|
793
|
+
)
|
794
|
+
|
795
|
+
# The card has been temporarily disabled or not yet activated. The merchant may attempt to process the transaction again.
|
796
|
+
CARD_TEMPORARILY_DISABLED =
|
797
|
+
T.let(
|
798
|
+
:card_temporarily_disabled,
|
799
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::TaggedSymbol
|
800
|
+
)
|
801
|
+
|
802
|
+
# The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
|
803
|
+
SUSPECTED_FRAUD =
|
804
|
+
T.let(
|
805
|
+
:suspected_fraud,
|
806
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::TaggedSymbol
|
807
|
+
)
|
808
|
+
|
809
|
+
# The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
|
810
|
+
OTHER =
|
811
|
+
T.let(
|
812
|
+
:other,
|
813
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::TaggedSymbol
|
814
|
+
)
|
815
|
+
|
816
|
+
sig do
|
817
|
+
override.returns(
|
818
|
+
T::Array[
|
819
|
+
Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason::TaggedSymbol
|
820
|
+
]
|
821
|
+
)
|
822
|
+
end
|
823
|
+
def self.values
|
824
|
+
end
|
825
|
+
end
|
826
|
+
end
|
827
|
+
|
439
828
|
# The reason the card authorization was declined. This translates to a specific
|
440
|
-
# decline code that is sent to the card network.
|
829
|
+
# decline code that is sent to the card network. This field is deprecated, please
|
830
|
+
# transition to using the `decline` object as this field will be removed in a
|
831
|
+
# future release.
|
441
832
|
module DeclineReason
|
442
833
|
extend Increase::Internal::Type::Enum
|
443
834
|
|
@@ -521,6 +912,8 @@ module Increase
|
|
521
912
|
end
|
522
913
|
attr_accessor :result
|
523
914
|
|
915
|
+
# If your application was able to deliver the one-time passcode, this contains
|
916
|
+
# metadata about the delivery. Exactly one of `phone` or `email` must be provided.
|
524
917
|
sig do
|
525
918
|
returns(
|
526
919
|
T.nilable(
|
@@ -551,6 +944,8 @@ module Increase
|
|
551
944
|
def self.new(
|
552
945
|
# Whether your application was able to deliver the one-time passcode.
|
553
946
|
result:,
|
947
|
+
# If your application was able to deliver the one-time passcode, this contains
|
948
|
+
# metadata about the delivery. Exactly one of `phone` or `email` must be provided.
|
554
949
|
success: nil
|
555
950
|
)
|
556
951
|
end
|
@@ -630,6 +1025,8 @@ module Increase
|
|
630
1025
|
sig { params(phone: String).void }
|
631
1026
|
attr_writer :phone
|
632
1027
|
|
1028
|
+
# If your application was able to deliver the one-time passcode, this contains
|
1029
|
+
# metadata about the delivery. Exactly one of `phone` or `email` must be provided.
|
633
1030
|
sig { params(email: String, phone: String).returns(T.attached_class) }
|
634
1031
|
def self.new(
|
635
1032
|
# The email address that was used to verify the cardholder via one-time passcode.
|
@@ -78,6 +78,7 @@ module Increase
|
|
78
78
|
params(
|
79
79
|
entity_id: String,
|
80
80
|
corporation: Increase::EntityUpdateParams::Corporation::OrHash,
|
81
|
+
details_confirmed_at: Time,
|
81
82
|
government_authority:
|
82
83
|
Increase::EntityUpdateParams::GovernmentAuthority::OrHash,
|
83
84
|
natural_person: Increase::EntityUpdateParams::NaturalPerson::OrHash,
|
@@ -94,6 +95,10 @@ module Increase
|
|
94
95
|
# Details of the corporation entity to update. If you specify this parameter and
|
95
96
|
# the entity is not a corporation, the request will fail.
|
96
97
|
corporation: nil,
|
98
|
+
# When your user last confirmed the Entity's details. Depending on your program,
|
99
|
+
# you may be required to affirmatively confirm details with your users on an
|
100
|
+
# annual basis.
|
101
|
+
details_confirmed_at: nil,
|
97
102
|
# Details of the government authority entity to update. If you specify this
|
98
103
|
# parameter and the entity is not a government authority, the request will fail.
|
99
104
|
government_authority: nil,
|
@@ -1167,25 +1167,22 @@ module Increase
|
|
1167
1167
|
|
1168
1168
|
type result =
|
1169
1169
|
:not_checked
|
1170
|
-
| :postal_code_match_address_not_checked
|
1171
1170
|
| :postal_code_match_address_no_match
|
1172
1171
|
| :postal_code_no_match_address_match
|
1173
1172
|
| :match
|
1174
1173
|
| :no_match
|
1174
|
+
| :postal_code_match_address_not_checked
|
1175
1175
|
|
1176
1176
|
module Result
|
1177
1177
|
extend Increase::Internal::Type::Enum
|
1178
1178
|
|
1179
|
-
# No address was provided in the authorization request.
|
1179
|
+
# No address information was provided in the authorization request.
|
1180
1180
|
NOT_CHECKED: :not_checked
|
1181
1181
|
|
1182
|
-
# Postal code matches, but the street address was not
|
1183
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
1184
|
-
|
1185
|
-
# Postal code matches, but the street address does not match.
|
1182
|
+
# Postal code matches, but the street address does not match or was not provided.
|
1186
1183
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
|
1187
1184
|
|
1188
|
-
# Postal code does not match, but the street address matches.
|
1185
|
+
# Postal code does not match, but the street address matches or was not provided.
|
1189
1186
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
|
1190
1187
|
|
1191
1188
|
# Postal code and street address match.
|
@@ -1194,6 +1191,9 @@ module Increase
|
|
1194
1191
|
# Postal code and street address do not match.
|
1195
1192
|
NO_MATCH: :no_match
|
1196
1193
|
|
1194
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
1195
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
1196
|
+
|
1197
1197
|
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result]
|
1198
1198
|
end
|
1199
1199
|
end
|
@@ -2135,25 +2135,22 @@ module Increase
|
|
2135
2135
|
|
2136
2136
|
type result =
|
2137
2137
|
:not_checked
|
2138
|
-
| :postal_code_match_address_not_checked
|
2139
2138
|
| :postal_code_match_address_no_match
|
2140
2139
|
| :postal_code_no_match_address_match
|
2141
2140
|
| :match
|
2142
2141
|
| :no_match
|
2142
|
+
| :postal_code_match_address_not_checked
|
2143
2143
|
|
2144
2144
|
module Result
|
2145
2145
|
extend Increase::Internal::Type::Enum
|
2146
2146
|
|
2147
|
-
# No address was provided in the authorization request.
|
2147
|
+
# No address information was provided in the authorization request.
|
2148
2148
|
NOT_CHECKED: :not_checked
|
2149
2149
|
|
2150
|
-
# Postal code matches, but the street address was not
|
2151
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
2152
|
-
|
2153
|
-
# Postal code matches, but the street address does not match.
|
2150
|
+
# Postal code matches, but the street address does not match or was not provided.
|
2154
2151
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
|
2155
2152
|
|
2156
|
-
# Postal code does not match, but the street address matches.
|
2153
|
+
# Postal code does not match, but the street address matches or was not provided.
|
2157
2154
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
|
2158
2155
|
|
2159
2156
|
# Postal code and street address match.
|
@@ -2162,6 +2159,9 @@ module Increase
|
|
2162
2159
|
# Postal code and street address do not match.
|
2163
2160
|
NO_MATCH: :no_match
|
2164
2161
|
|
2162
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
2163
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
2164
|
+
|
2165
2165
|
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result]
|
2166
2166
|
end
|
2167
2167
|
end
|
@@ -5568,25 +5568,22 @@ module Increase
|
|
5568
5568
|
|
5569
5569
|
type result =
|
5570
5570
|
:not_checked
|
5571
|
-
| :postal_code_match_address_not_checked
|
5572
5571
|
| :postal_code_match_address_no_match
|
5573
5572
|
| :postal_code_no_match_address_match
|
5574
5573
|
| :match
|
5575
5574
|
| :no_match
|
5575
|
+
| :postal_code_match_address_not_checked
|
5576
5576
|
|
5577
5577
|
module Result
|
5578
5578
|
extend Increase::Internal::Type::Enum
|
5579
5579
|
|
5580
|
-
# No address was provided in the authorization request.
|
5580
|
+
# No address information was provided in the authorization request.
|
5581
5581
|
NOT_CHECKED: :not_checked
|
5582
5582
|
|
5583
|
-
# Postal code matches, but the street address was not
|
5584
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
5585
|
-
|
5586
|
-
# Postal code matches, but the street address does not match.
|
5583
|
+
# Postal code matches, but the street address does not match or was not provided.
|
5587
5584
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
|
5588
5585
|
|
5589
|
-
# Postal code does not match, but the street address matches.
|
5586
|
+
# Postal code does not match, but the street address matches or was not provided.
|
5590
5587
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
|
5591
5588
|
|
5592
5589
|
# Postal code and street address match.
|
@@ -5595,6 +5592,9 @@ module Increase
|
|
5595
5592
|
# Postal code and street address do not match.
|
5596
5593
|
NO_MATCH: :no_match
|
5597
5594
|
|
5595
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
5596
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
5597
|
+
|
5598
5598
|
def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress::result]
|
5599
5599
|
end
|
5600
5600
|
end
|
@@ -1159,25 +1159,22 @@ module Increase
|
|
1159
1159
|
|
1160
1160
|
type result =
|
1161
1161
|
:not_checked
|
1162
|
-
| :postal_code_match_address_not_checked
|
1163
1162
|
| :postal_code_match_address_no_match
|
1164
1163
|
| :postal_code_no_match_address_match
|
1165
1164
|
| :match
|
1166
1165
|
| :no_match
|
1166
|
+
| :postal_code_match_address_not_checked
|
1167
1167
|
|
1168
1168
|
module Result
|
1169
1169
|
extend Increase::Internal::Type::Enum
|
1170
1170
|
|
1171
|
-
# No address was provided in the authorization request.
|
1171
|
+
# No address information was provided in the authorization request.
|
1172
1172
|
NOT_CHECKED: :not_checked
|
1173
1173
|
|
1174
|
-
# Postal code matches, but the street address was not
|
1175
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
1176
|
-
|
1177
|
-
# Postal code matches, but the street address does not match.
|
1174
|
+
# Postal code matches, but the street address does not match or was not provided.
|
1178
1175
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
|
1179
1176
|
|
1180
|
-
# Postal code does not match, but the street address matches.
|
1177
|
+
# Postal code does not match, but the street address matches or was not provided.
|
1181
1178
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
|
1182
1179
|
|
1183
1180
|
# Postal code and street address match.
|
@@ -1186,6 +1183,9 @@ module Increase
|
|
1186
1183
|
# Postal code and street address do not match.
|
1187
1184
|
NO_MATCH: :no_match
|
1188
1185
|
|
1186
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
1187
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
1188
|
+
|
1189
1189
|
def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::result]
|
1190
1190
|
end
|
1191
1191
|
end
|
@@ -3,6 +3,7 @@ module Increase
|
|
3
3
|
type entity_update_params =
|
4
4
|
{
|
5
5
|
corporation: Increase::EntityUpdateParams::Corporation,
|
6
|
+
details_confirmed_at: Time,
|
6
7
|
government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
7
8
|
natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
8
9
|
risk_rating: Increase::EntityUpdateParams::RiskRating,
|
@@ -21,6 +22,10 @@ module Increase
|
|
21
22
|
Increase::EntityUpdateParams::Corporation
|
22
23
|
) -> Increase::EntityUpdateParams::Corporation
|
23
24
|
|
25
|
+
attr_reader details_confirmed_at: Time?
|
26
|
+
|
27
|
+
def details_confirmed_at=: (Time) -> Time
|
28
|
+
|
24
29
|
attr_reader government_authority: Increase::EntityUpdateParams::GovernmentAuthority?
|
25
30
|
|
26
31
|
def government_authority=: (
|
@@ -53,6 +58,7 @@ module Increase
|
|
53
58
|
|
54
59
|
def initialize: (
|
55
60
|
?corporation: Increase::EntityUpdateParams::Corporation,
|
61
|
+
?details_confirmed_at: Time,
|
56
62
|
?government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
57
63
|
?natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
58
64
|
?risk_rating: Increase::EntityUpdateParams::RiskRating,
|
@@ -63,6 +69,7 @@ module Increase
|
|
63
69
|
|
64
70
|
def to_hash: -> {
|
65
71
|
corporation: Increase::EntityUpdateParams::Corporation,
|
72
|
+
details_confirmed_at: Time,
|
66
73
|
government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
|
67
74
|
natural_person: Increase::EntityUpdateParams::NaturalPerson,
|
68
75
|
risk_rating: Increase::EntityUpdateParams::RiskRating,
|