Class: Stripe::PaymentRecordReportPaymentAttemptInformationalParams

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

Defined Under Namespace

Classes: CustomerDetails, ShippingDetails

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(customer_details: nil, description: nil, expand: nil, metadata: nil, shipping_details: nil) ⇒ PaymentRecordReportPaymentAttemptInformationalParams

Returns a new instance of PaymentRecordReportPaymentAttemptInformationalParams.



79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb', line 79

def initialize(
  customer_details: nil,
  description: nil,
  expand: nil,
  metadata: nil,
  shipping_details: nil
)
  @customer_details = customer_details
  @description = description
  @expand = expand
  @metadata = 
  @shipping_details = shipping_details
end

Instance Attribute Details

#customer_detailsObject

Customer information for this payment.



69
70
71
# File 'lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb', line 69

def customer_details
  @customer_details
end

#descriptionObject

An arbitrary string attached to the object. Often useful for displaying to users.



71
72
73
# File 'lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb', line 71

def description
  @description
end

#expandObject

Specifies which fields in the response should be expanded.



73
74
75
# File 'lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb', line 73

def expand
  @expand
end

#metadataObject

Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to ‘metadata`.



75
76
77
# File 'lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb', line 75

def 
  @metadata
end

#shipping_detailsObject

Shipping information for this payment.



77
78
79
# File 'lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb', line 77

def shipping_details
  @shipping_details
end