Class: Stripe::Issuing::Dispute::UpdateParams::Evidence
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::Dispute::UpdateParams::Evidence
- Defined in:
- lib/stripe/resources/issuing/dispute.rb
Defined Under Namespace
Classes: Canceled, Duplicate, Fraudulent, MerchandiseNotAsDescribed, NoValidAuthorization, NotReceived, Other, ServiceNotAsDescribed
Instance Attribute Summary collapse
-
#canceled ⇒ Object
Evidence provided when ‘reason` is ’canceled’.
-
#duplicate ⇒ Object
Evidence provided when ‘reason` is ’duplicate’.
-
#fraudulent ⇒ Object
Evidence provided when ‘reason` is ’fraudulent’.
-
#merchandise_not_as_described ⇒ Object
Evidence provided when ‘reason` is ’merchandise_not_as_described’.
-
#no_valid_authorization ⇒ Object
Evidence provided when ‘reason` is ’no_valid_authorization’.
-
#not_received ⇒ Object
Evidence provided when ‘reason` is ’not_received’.
-
#other ⇒ Object
Evidence provided when ‘reason` is ’other’.
-
#reason ⇒ Object
The reason for filing the dispute.
-
#service_not_as_described ⇒ Object
Evidence provided when ‘reason` is ’service_not_as_described’.
Instance Method Summary collapse
-
#initialize(canceled: nil, duplicate: nil, fraudulent: nil, merchandise_not_as_described: nil, no_valid_authorization: nil, not_received: nil, other: nil, reason: nil, service_not_as_described: nil) ⇒ Evidence
constructor
A new instance of Evidence.
Methods inherited from RequestParams
Constructor Details
#initialize(canceled: nil, duplicate: nil, fraudulent: nil, merchandise_not_as_described: nil, no_valid_authorization: nil, not_received: nil, other: nil, reason: nil, service_not_as_described: nil) ⇒ Evidence
Returns a new instance of Evidence.
812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 |
# File 'lib/stripe/resources/issuing/dispute.rb', line 812 def initialize( canceled: nil, duplicate: nil, fraudulent: nil, merchandise_not_as_described: nil, no_valid_authorization: nil, not_received: nil, other: nil, reason: nil, service_not_as_described: nil ) @canceled = canceled @duplicate = duplicate @fraudulent = fraudulent @merchandise_not_as_described = merchandise_not_as_described @no_valid_authorization = @not_received = not_received @other = other @reason = reason @service_not_as_described = service_not_as_described end |
Instance Attribute Details
#canceled ⇒ Object
Evidence provided when ‘reason` is ’canceled’.
794 795 796 |
# File 'lib/stripe/resources/issuing/dispute.rb', line 794 def canceled @canceled end |
#duplicate ⇒ Object
Evidence provided when ‘reason` is ’duplicate’.
796 797 798 |
# File 'lib/stripe/resources/issuing/dispute.rb', line 796 def duplicate @duplicate end |
#fraudulent ⇒ Object
Evidence provided when ‘reason` is ’fraudulent’.
798 799 800 |
# File 'lib/stripe/resources/issuing/dispute.rb', line 798 def fraudulent @fraudulent end |
#merchandise_not_as_described ⇒ Object
Evidence provided when ‘reason` is ’merchandise_not_as_described’.
800 801 802 |
# File 'lib/stripe/resources/issuing/dispute.rb', line 800 def merchandise_not_as_described @merchandise_not_as_described end |
#no_valid_authorization ⇒ Object
Evidence provided when ‘reason` is ’no_valid_authorization’.
802 803 804 |
# File 'lib/stripe/resources/issuing/dispute.rb', line 802 def @no_valid_authorization end |
#not_received ⇒ Object
Evidence provided when ‘reason` is ’not_received’.
804 805 806 |
# File 'lib/stripe/resources/issuing/dispute.rb', line 804 def not_received @not_received end |
#other ⇒ Object
Evidence provided when ‘reason` is ’other’.
806 807 808 |
# File 'lib/stripe/resources/issuing/dispute.rb', line 806 def other @other end |
#reason ⇒ Object
The reason for filing the dispute. The evidence should be submitted in the field of the same name.
808 809 810 |
# File 'lib/stripe/resources/issuing/dispute.rb', line 808 def reason @reason end |
#service_not_as_described ⇒ Object
Evidence provided when ‘reason` is ’service_not_as_described’.
810 811 812 |
# File 'lib/stripe/resources/issuing/dispute.rb', line 810 def service_not_as_described @service_not_as_described end |