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
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) ⇒ DisputeEvidence
constructor
A new instance of DisputeEvidence.
Methods inherited from Rest::Base
base_find, class_name, create_instance, create_instances_from_response, #delete, get_path, has_many?, has_one?, 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?, #save, #save!, #to_hash
Constructor Details
#initialize(session: ShopifyAPI::Context.active_session) ⇒ DisputeEvidence
Returns a new instance of DisputeEvidence.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 16 def initialize(session: ShopifyAPI::Context.active_session) super(session: session) @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)) 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.
50 51 52 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 50 def access_activity_log @access_activity_log end |
#billing_address ⇒ Object (readonly)
Returns the value of attribute billing_address.
52 53 54 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 52 def billing_address @billing_address end |
#cancellation_policy_disclosure ⇒ Object (readonly)
Returns the value of attribute cancellation_policy_disclosure.
54 55 56 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 54 def cancellation_policy_disclosure @cancellation_policy_disclosure end |
#cancellation_rebuttal ⇒ Object (readonly)
Returns the value of attribute cancellation_rebuttal.
56 57 58 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 56 def cancellation_rebuttal @cancellation_rebuttal end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
58 59 60 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 58 def created_at @created_at end |
#customer_email_address ⇒ Object (readonly)
Returns the value of attribute customer_email_address.
60 61 62 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 60 def customer_email_address @customer_email_address end |
#customer_first_name ⇒ Object (readonly)
Returns the value of attribute customer_first_name.
62 63 64 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 62 def customer_first_name @customer_first_name end |
#customer_last_name ⇒ Object (readonly)
Returns the value of attribute customer_last_name.
64 65 66 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 64 def customer_last_name @customer_last_name end |
#dispute_evidence_files ⇒ Object (readonly)
Returns the value of attribute dispute_evidence_files.
66 67 68 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 66 def dispute_evidence_files @dispute_evidence_files end |
#fulfillments ⇒ Object (readonly)
Returns the value of attribute fulfillments.
68 69 70 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 68 def fulfillments @fulfillments end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
70 71 72 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 70 def id @id end |
#payments_dispute_id ⇒ Object (readonly)
Returns the value of attribute payments_dispute_id.
72 73 74 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 72 def payments_dispute_id @payments_dispute_id end |
#product_description ⇒ Object (readonly)
Returns the value of attribute product_description.
74 75 76 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 74 def product_description @product_description end |
#refund_policy_disclosure ⇒ Object (readonly)
Returns the value of attribute refund_policy_disclosure.
76 77 78 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 76 def refund_policy_disclosure @refund_policy_disclosure end |
#refund_refusal_explanation ⇒ Object (readonly)
Returns the value of attribute refund_refusal_explanation.
78 79 80 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 78 def refund_refusal_explanation @refund_refusal_explanation end |
#shipping_address ⇒ Object (readonly)
Returns the value of attribute shipping_address.
80 81 82 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 80 def shipping_address @shipping_address end |
#submitted ⇒ Object (readonly)
Returns the value of attribute submitted.
82 83 84 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 82 def submitted @submitted end |
#uncategorized_text ⇒ Object (readonly)
Returns the value of attribute uncategorized_text.
84 85 86 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 84 def uncategorized_text @uncategorized_text end |
#updated_on ⇒ Object (readonly)
Returns the value of attribute updated_on.
86 87 88 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 86 def updated_on @updated_on end |
Class Method Details
.find(dispute_id:, session: ShopifyAPI::Context.active_session) ⇒ Object
102 103 104 105 106 107 108 109 110 111 112 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 102 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
92 93 94 |
# File 'lib/shopify_api/rest/resources/2022_07/dispute_evidence.rb', line 92 def primary_key() "dispute_id" end |