Class: Stripe::Issuing::DisputeCreateParams::Evidence::Canceled

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/issuing/dispute_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(additional_documentation: nil, canceled_at: nil, cancellation_policy_provided: nil, cancellation_reason: nil, expected_at: nil, explanation: nil, product_description: nil, product_type: nil, return_status: nil, returned_at: nil) ⇒ Canceled

Returns a new instance of Canceled.



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/stripe/params/issuing/dispute_create_params.rb', line 30

def initialize(
  additional_documentation: nil,
  canceled_at: nil,
  cancellation_policy_provided: nil,
  cancellation_reason: nil,
  expected_at: nil,
  explanation: nil,
  product_description: nil,
  product_type: nil,
  return_status: nil,
  returned_at: nil
)
  @additional_documentation = additional_documentation
  @canceled_at = canceled_at
  @cancellation_policy_provided = cancellation_policy_provided
  @cancellation_reason = cancellation_reason
  @expected_at = expected_at
  @explanation = explanation
  @product_description = product_description
  @product_type = product_type
  @return_status = return_status
  @returned_at = returned_at
end

Instance Attribute Details

#additional_documentationObject

(ID of a [file upload](stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.



10
11
12
# File 'lib/stripe/params/issuing/dispute_create_params.rb', line 10

def additional_documentation
  @additional_documentation
end

#canceled_atObject

Date when order was canceled.



12
13
14
# File 'lib/stripe/params/issuing/dispute_create_params.rb', line 12

def canceled_at
  @canceled_at
end

#cancellation_policy_providedObject

Whether the cardholder was provided with a cancellation policy.



14
15
16
# File 'lib/stripe/params/issuing/dispute_create_params.rb', line 14

def cancellation_policy_provided
  @cancellation_policy_provided
end

#cancellation_reasonObject

Reason for canceling the order.



16
17
18
# File 'lib/stripe/params/issuing/dispute_create_params.rb', line 16

def cancellation_reason
  @cancellation_reason
end

#expected_atObject

Date when the cardholder expected to receive the product.



18
19
20
# File 'lib/stripe/params/issuing/dispute_create_params.rb', line 18

def expected_at
  @expected_at
end

#explanationObject

Explanation of why the cardholder is disputing this transaction.



20
21
22
# File 'lib/stripe/params/issuing/dispute_create_params.rb', line 20

def explanation
  @explanation
end

#product_descriptionObject

Description of the merchandise or service that was purchased.



22
23
24
# File 'lib/stripe/params/issuing/dispute_create_params.rb', line 22

def product_description
  @product_description
end

#product_typeObject

Whether the product was a merchandise or service.



24
25
26
# File 'lib/stripe/params/issuing/dispute_create_params.rb', line 24

def product_type
  @product_type
end

#return_statusObject

Result of cardholder’s attempt to return the product.



26
27
28
# File 'lib/stripe/params/issuing/dispute_create_params.rb', line 26

def return_status
  @return_status
end

#returned_atObject

Date when the product was returned or attempted to be returned.



28
29
30
# File 'lib/stripe/params/issuing/dispute_create_params.rb', line 28

def returned_at
  @returned_at
end