Class: ShopifyAPI::DisputeEvidence
- Inherits:
-
Rest::Base
- Object
- Rest::Base
- ShopifyAPI::DisputeEvidence
- Extended by:
- T::Sig
- Defined in:
- lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb,
lib/shopify_api/rest/resources/2022_10/dispute_evidence.rb,
lib/shopify_api/rest/resources/2023_01/dispute_evidence.rb,
lib/shopify_api/rest/resources/2023_04/dispute_evidence.rb,
lib/shopify_api/rest/resources/2023_07/dispute_evidence.rb,
lib/shopify_api/rest/resources/2023_10/dispute_evidence.rb,
lib/shopify_api/rest/resources/2024_01/dispute_evidence.rb,
lib/shopify_api/rest/resources/2024_04/dispute_evidence.rb,
lib/shopify_api/rest/resources/2024_07/dispute_evidence.rb,
lib/shopify_api/rest/resources/2024_10/dispute_evidence.rb
Instance Attribute Summary collapse
-
#access_activity_log ⇒ Object
readonly
Returns the value of attribute access_activity_log.
-
#billing_address ⇒ Object
readonly
Returns the value of attribute billing_address.
-
#cancellation_policy_disclosure ⇒ Object
readonly
Returns the value of attribute cancellation_policy_disclosure.
-
#cancellation_rebuttal ⇒ Object
readonly
Returns the value of attribute cancellation_rebuttal.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#customer_email_address ⇒ Object
readonly
Returns the value of attribute customer_email_address.
-
#customer_first_name ⇒ Object
readonly
Returns the value of attribute customer_first_name.
-
#customer_last_name ⇒ Object
readonly
Returns the value of attribute customer_last_name.
-
#dispute_evidence_files ⇒ Object
readonly
Returns the value of attribute dispute_evidence_files.
-
#fulfillments ⇒ Object
readonly
Returns the value of attribute fulfillments.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#payments_dispute_id ⇒ Object
readonly
Returns the value of attribute payments_dispute_id.
-
#product_description ⇒ Object
readonly
Returns the value of attribute product_description.
-
#refund_policy_disclosure ⇒ Object
readonly
Returns the value of attribute refund_policy_disclosure.
-
#refund_refusal_explanation ⇒ Object
readonly
Returns the value of attribute refund_refusal_explanation.
-
#shipping_address ⇒ Object
readonly
Returns the value of attribute shipping_address.
-
#submitted ⇒ Object
readonly
Returns the value of attribute submitted.
-
#uncategorized_text ⇒ Object
readonly
Returns the value of attribute uncategorized_text.
-
#updated_on ⇒ Object
readonly
Returns the value of attribute updated_on.
Attributes inherited from Rest::Base
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(session: ShopifyAPI::Context.active_session, from_hash: nil) ⇒ DisputeEvidence
constructor
A new instance of DisputeEvidence.
Methods inherited from Rest::Base
api_call_limit, base_find, class_name, create_instance, create_instances_from_response, #delete, get_path, get_path_ids, has_many?, has_one?, inherited, json_body_name, json_response_body_names, #method_missing, next_page?, next_page_info, prev_page?, prev_page_info, read_only_attributes, request, #respond_to_missing?, retry_request_after, #save, #save!, #to_hash
Constructor Details
#initialize(session: ShopifyAPI::Context.active_session, from_hash: nil) ⇒ DisputeEvidence
Returns a new instance of DisputeEvidence.
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 19 def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil) @access_activity_log = T.let(nil, T.nilable(String)) @billing_address = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped])) @cancellation_policy_disclosure = T.let(nil, T.nilable(String)) @cancellation_rebuttal = T.let(nil, T.nilable(String)) @created_at = T.let(nil, T.nilable(String)) @customer_email_address = T.let(nil, T.nilable(String)) @customer_first_name = T.let(nil, T.nilable(String)) @customer_last_name = T.let(nil, T.nilable(String)) @dispute_evidence_files = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped])) @fulfillments = T.let(nil, T.nilable(T::Array[T.untyped])) @id = T.let(nil, T.nilable(Integer)) @payments_dispute_id = T.let(nil, T.nilable(Integer)) @product_description = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped])) @refund_policy_disclosure = T.let(nil, T.nilable(String)) @refund_refusal_explanation = T.let(nil, T.nilable(String)) @shipping_address = T.let(nil, T.nilable(T::Hash[T.untyped, T.untyped])) @submitted = T.let(nil, T.nilable(T::Boolean)) @uncategorized_text = T.let(nil, T.nilable(String)) @updated_on = T.let(nil, T.nilable(String)) super(session: session, from_hash: from_hash) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ShopifyAPI::Rest::Base
Instance Attribute Details
#access_activity_log ⇒ Object (readonly)
Returns the value of attribute access_activity_log.
54 55 56 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 54 def access_activity_log @access_activity_log end |
#billing_address ⇒ Object (readonly)
Returns the value of attribute billing_address.
56 57 58 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 56 def billing_address @billing_address end |
#cancellation_policy_disclosure ⇒ Object (readonly)
Returns the value of attribute cancellation_policy_disclosure.
58 59 60 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 58 def cancellation_policy_disclosure @cancellation_policy_disclosure end |
#cancellation_rebuttal ⇒ Object (readonly)
Returns the value of attribute cancellation_rebuttal.
60 61 62 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 60 def cancellation_rebuttal @cancellation_rebuttal end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
62 63 64 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 62 def created_at @created_at end |
#customer_email_address ⇒ Object (readonly)
Returns the value of attribute customer_email_address.
64 65 66 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 64 def customer_email_address @customer_email_address end |
#customer_first_name ⇒ Object (readonly)
Returns the value of attribute customer_first_name.
66 67 68 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 66 def customer_first_name @customer_first_name end |
#customer_last_name ⇒ Object (readonly)
Returns the value of attribute customer_last_name.
68 69 70 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 68 def customer_last_name @customer_last_name end |
#dispute_evidence_files ⇒ Object (readonly)
Returns the value of attribute dispute_evidence_files.
70 71 72 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 70 def dispute_evidence_files @dispute_evidence_files end |
#fulfillments ⇒ Object (readonly)
Returns the value of attribute fulfillments.
72 73 74 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 72 def fulfillments @fulfillments end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
74 75 76 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 74 def id @id end |
#payments_dispute_id ⇒ Object (readonly)
Returns the value of attribute payments_dispute_id.
76 77 78 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 76 def payments_dispute_id @payments_dispute_id end |
#product_description ⇒ Object (readonly)
Returns the value of attribute product_description.
78 79 80 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 78 def product_description @product_description end |
#refund_policy_disclosure ⇒ Object (readonly)
Returns the value of attribute refund_policy_disclosure.
80 81 82 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 80 def refund_policy_disclosure @refund_policy_disclosure end |
#refund_refusal_explanation ⇒ Object (readonly)
Returns the value of attribute refund_refusal_explanation.
82 83 84 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 82 def refund_refusal_explanation @refund_refusal_explanation end |
#shipping_address ⇒ Object (readonly)
Returns the value of attribute shipping_address.
84 85 86 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 84 def shipping_address @shipping_address end |
#submitted ⇒ Object (readonly)
Returns the value of attribute submitted.
86 87 88 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 86 def submitted @submitted end |
#uncategorized_text ⇒ Object (readonly)
Returns the value of attribute uncategorized_text.
88 89 90 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 88 def uncategorized_text @uncategorized_text end |
#updated_on ⇒ Object (readonly)
Returns the value of attribute updated_on.
90 91 92 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 90 def updated_on @updated_on end |
Class Method Details
.find(dispute_id:, session: ShopifyAPI::Context.active_session) ⇒ Object
106 107 108 109 110 111 112 113 114 115 116 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 106 def find( dispute_id:, session: ShopifyAPI::Context.active_session ) result = base_find( session: session, ids: {dispute_id: dispute_id}, params: {}, ) T.cast(result[0], T.nilable(DisputeEvidence)) end |
.primary_key ⇒ Object
96 97 98 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 96 def primary_key() "dispute_id" end |