Class: Increase::Models::CardDispute

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/card_dispute.rb

Defined Under Namespace

Classes: Acceptance, Loss, Rejection, Win

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#acceptanceIncrease::Models::CardDispute::Acceptance

If the Card Dispute's status is accepted, this will contain details of the successful dispute.



14
# File 'lib/increase/models/card_dispute.rb', line 14

required :acceptance, -> { Increase::Models::CardDispute::Acceptance }

#created_atString

The ISO 8601 date and time at which the Card Dispute was created.

Returns:

  • (String)


19
# File 'lib/increase/models/card_dispute.rb', line 19

required :created_at, String

#disputed_transaction_idString

The identifier of the Transaction that was disputed.

Returns:

  • (String)


24
# File 'lib/increase/models/card_dispute.rb', line 24

required :disputed_transaction_id, String

#explanationString

Why you disputed the Transaction in question.

Returns:

  • (String)


29
# File 'lib/increase/models/card_dispute.rb', line 29

required :explanation, String

#idString

The Card Dispute identifier.

Returns:

  • (String)


9
# File 'lib/increase/models/card_dispute.rb', line 9

required :id, String

#idempotency_keyString

The idempotency key you chose for this object. This value is unique across Increase and is used to ensure that a request is only processed once. Learn more about idempotency.

Returns:

  • (String)


34
# File 'lib/increase/models/card_dispute.rb', line 34

required :idempotency_key, String

#lossIncrease::Models::CardDispute::Loss

If the Card Dispute's status is lost, this will contain details of the lost dispute.



39
# File 'lib/increase/models/card_dispute.rb', line 39

required :loss, -> { Increase::Models::CardDispute::Loss }

#rejectionIncrease::Models::CardDispute::Rejection

If the Card Dispute's status is rejected, this will contain details of the unsuccessful dispute.



44
# File 'lib/increase/models/card_dispute.rb', line 44

required :rejection, -> { Increase::Models::CardDispute::Rejection }

#statusSymbol

The results of the Dispute investigation.

Returns:

  • (Symbol)


49
# File 'lib/increase/models/card_dispute.rb', line 49

required :status, Increase::Enum.new(:pending_reviewing, :accepted, :rejected, :lost, :won)

#typeSymbol

A constant representing the object's type. For this resource it will always be card_dispute.

Returns:

  • (Symbol)


54
# File 'lib/increase/models/card_dispute.rb', line 54

required :type, Increase::Enum.new(:card_dispute)

#winIncrease::Models::CardDispute::Win

If the Card Dispute's status is won, this will contain details of the won dispute.



59
# File 'lib/increase/models/card_dispute.rb', line 59

required :win, -> { Increase::Models::CardDispute::Win }