class Stripe::DisputeEvidence

Overview

Included Modules

Defined in:

stripe/models/dispute_evidence.cr

Constant Summary

MAX_LENGTH_FOR_ACCESS_ACTIVITY_LOG = 150000
MAX_LENGTH_FOR_BILLING_ADDRESS = 5000
MAX_LENGTH_FOR_CANCELLATION_POLICY_DISCLOSURE = 150000
MAX_LENGTH_FOR_CANCELLATION_REBUTTAL = 150000
MAX_LENGTH_FOR_CUSTOMER_EMAIL_ADDRESS = 5000
MAX_LENGTH_FOR_CUSTOMER_NAME = 5000
MAX_LENGTH_FOR_CUSTOMER_PURCHASE_IP = 5000
MAX_LENGTH_FOR_DUPLICATE_CHARGE_EXPLANATION = 150000
MAX_LENGTH_FOR_DUPLICATE_CHARGE_ID = 5000
MAX_LENGTH_FOR_PRODUCT_DESCRIPTION = 150000
MAX_LENGTH_FOR_REFUND_POLICY_DISCLOSURE = 150000
MAX_LENGTH_FOR_REFUND_REFUSAL_EXPLANATION = 150000
MAX_LENGTH_FOR_SERVICE_DATE = 5000
MAX_LENGTH_FOR_SHIPPING_ADDRESS = 5000
MAX_LENGTH_FOR_SHIPPING_CARRIER = 5000
MAX_LENGTH_FOR_SHIPPING_DATE = 5000
MAX_LENGTH_FOR_SHIPPING_TRACKING_NUMBER = 5000
MAX_LENGTH_FOR_UNCATEGORIZED_TEXT = 150000

Constructors

Instance Method Summary

Instance methods inherited from module OpenApi::Json

after_initialize after_initialize, clone clone, eql?(o : self) eql?, to_hash : Hash(String, JSON::Any) to_hash, to_json_any : JSON::Any to_json_any

Class methods inherited from module OpenApi::Json

build_from_hash(hash : Hash) build_from_hash, build_from_json_any(json_any : JSON::Any) build_from_json_any

Instance methods inherited from module OpenApi::Validatable

list_invalid_properties : Array(String) list_invalid_properties, list_invalid_properties_for(key : String) : Array(String) list_invalid_properties_for, valid? : Bool valid?, validate : Nil validate

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, access_activity_log : String | Nil = nil, billing_address : String | Nil = nil, cancellation_policy : Stripe::DisputeEvidenceCancellationPolicy | Nil = nil, cancellation_policy_disclosure : String | Nil = nil, cancellation_rebuttal : String | Nil = nil, customer_communication : Stripe::DisputeEvidenceCustomerCommunication | Nil = nil, customer_email_address : String | Nil = nil, customer_name : String | Nil = nil, customer_purchase_ip : String | Nil = nil, customer_signature : Stripe::DisputeEvidenceCustomerSignature | Nil = nil, duplicate_charge_documentation : Stripe::DisputeEvidenceDuplicateChargeDocumentation | Nil = nil, duplicate_charge_explanation : String | Nil = nil, duplicate_charge_id : String | Nil = nil, product_description : String | Nil = nil, receipt : Stripe::DisputeEvidenceReceipt | Nil = nil, refund_policy : Stripe::DisputeEvidenceRefundPolicy | Nil = nil, refund_policy_disclosure : String | Nil = nil, refund_refusal_explanation : String | Nil = nil, service_date : String | Nil = nil, service_documentation : Stripe::DisputeEvidenceServiceDocumentation | Nil = nil, shipping_address : String | Nil = nil, shipping_carrier : String | Nil = nil, shipping_date : String | Nil = nil, shipping_documentation : Stripe::DisputeEvidenceShippingDocumentation | Nil = nil, shipping_tracking_number : String | Nil = nil, uncategorized_file : Stripe::DisputeEvidenceUncategorizedFile | Nil = nil, uncategorized_text : String | Nil = nil) #

Initializes the object @param [Hash] attributes Model attributes in the form of hash


[View source]

Instance Method Detail

def ==(other : self) #

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code


def access_activity_log : String | Nil #

[View source]
def access_activity_log=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] access_activity_log Object to be assigned


[View source]
def billing_address : String | Nil #

[View source]
def billing_address=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] billing_address Object to be assigned


[View source]
def cancellation_policy : Stripe::DisputeEvidenceCancellationPolicy | Nil #

[View source]
def cancellation_policy=(new_value : Stripe::DisputeEvidenceCancellationPolicy | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] cancellation_policy Object to be assigned


[View source]
def cancellation_policy_disclosure : String | Nil #

[View source]
def cancellation_policy_disclosure=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] cancellation_policy_disclosure Object to be assigned


[View source]
def cancellation_rebuttal : String | Nil #

[View source]
def cancellation_rebuttal=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] cancellation_rebuttal Object to be assigned


[View source]
def customer_communication : Stripe::DisputeEvidenceCustomerCommunication | Nil #

[View source]
def customer_communication=(new_value : Stripe::DisputeEvidenceCustomerCommunication | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] customer_communication Object to be assigned


[View source]
def customer_email_address : String | Nil #

[View source]
def customer_email_address=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] customer_email_address Object to be assigned


[View source]
def customer_name : String | Nil #

[View source]
def customer_name=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] customer_name Object to be assigned


[View source]
def customer_purchase_ip : String | Nil #

[View source]
def customer_purchase_ip=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] customer_purchase_ip Object to be assigned


[View source]
def customer_signature : Stripe::DisputeEvidenceCustomerSignature | Nil #

[View source]
def customer_signature=(new_value : Stripe::DisputeEvidenceCustomerSignature | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] customer_signature Object to be assigned


[View source]
def duplicate_charge_documentation : Stripe::DisputeEvidenceDuplicateChargeDocumentation | Nil #

[View source]
def duplicate_charge_documentation=(new_value : Stripe::DisputeEvidenceDuplicateChargeDocumentation | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] duplicate_charge_documentation Object to be assigned


[View source]
def duplicate_charge_explanation : String | Nil #

[View source]
def duplicate_charge_explanation=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] duplicate_charge_explanation Object to be assigned


[View source]
def duplicate_charge_id : String | Nil #

[View source]
def duplicate_charge_id=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] duplicate_charge_id Object to be assigned


[View source]
def hash(hasher) #

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code


def list_invalid_properties : Array(String) #

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons


[View source]
def product_description : String | Nil #

[View source]
def product_description=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] product_description Object to be assigned


[View source]
def receipt : Stripe::DisputeEvidenceReceipt | Nil #

[View source]
def receipt=(new_value : Stripe::DisputeEvidenceReceipt | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] receipt Object to be assigned


[View source]
def refund_policy : Stripe::DisputeEvidenceRefundPolicy | Nil #

[View source]
def refund_policy=(new_value : Stripe::DisputeEvidenceRefundPolicy | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] refund_policy Object to be assigned


[View source]
def refund_policy_disclosure : String | Nil #

[View source]
def refund_policy_disclosure=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] refund_policy_disclosure Object to be assigned


[View source]
def refund_refusal_explanation : String | Nil #

[View source]
def refund_refusal_explanation=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] refund_refusal_explanation Object to be assigned


[View source]
def service_date : String | Nil #

[View source]
def service_date=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] service_date Object to be assigned


[View source]
def service_documentation : Stripe::DisputeEvidenceServiceDocumentation | Nil #

[View source]
def service_documentation=(new_value : Stripe::DisputeEvidenceServiceDocumentation | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] service_documentation Object to be assigned


[View source]
def shipping_address : String | Nil #

[View source]
def shipping_address=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] shipping_address Object to be assigned


[View source]
def shipping_carrier : String | Nil #

[View source]
def shipping_carrier=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] shipping_carrier Object to be assigned


[View source]
def shipping_date : String | Nil #

[View source]
def shipping_date=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] shipping_date Object to be assigned


[View source]
def shipping_documentation : Stripe::DisputeEvidenceShippingDocumentation | Nil #

[View source]
def shipping_documentation=(new_value : Stripe::DisputeEvidenceShippingDocumentation | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] shipping_documentation Object to be assigned


[View source]
def shipping_tracking_number : String | Nil #

[View source]
def shipping_tracking_number=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] shipping_tracking_number Object to be assigned


[View source]
def uncategorized_file : Stripe::DisputeEvidenceUncategorizedFile | Nil #

[View source]
def uncategorized_file=(new_value : Stripe::DisputeEvidenceUncategorizedFile | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] uncategorized_file Object to be assigned


[View source]
def uncategorized_text : String | Nil #

[View source]
def uncategorized_text=(new_value : String | Nil) #

Custom attribute writer method checking allowed values (enum). @param [Object] uncategorized_text Object to be assigned


[View source]
def valid? : Bool #

Check to see if the all the properties in the model are valid @return true if the model is valid


[View source]