Shopify SDK for Unity
Public Member Functions | List of all members
Shopify.Unity.CheckoutUserError Class Reference

Represents an error that happens during execution of a checkout mutation. More...

Inheritance diagram for Shopify.Unity.CheckoutUserError:
Shopify.Unity.SDK.AbstractResponse Shopify.Unity.DisplayableError

Public Member Functions

 CheckoutUserError (Dictionary< string, object > dataJSON)
 Accepts deserialized json data. Will further parse passed in data. More...
 
CheckoutErrorCodecode ()
 Error code to uniquely identify the error. More...
 
List< string > field ()
 Path to the input field which caused the error. More...
 
string message ()
 The error message. More...
 
object Clone ()
 

Additional Inherited Members

- Protected Member Functions inherited from Shopify.Unity.SDK.AbstractResponse
Get< T > (string field, string alias=null)
 
- Protected Attributes inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > Data
 
- Properties inherited from Shopify.Unity.SDK.AbstractResponse
Dictionary< string, object > DataJSON [get, protected set]
 

Detailed Description

Represents an error that happens during execution of a checkout mutation.

Constructor & Destructor Documentation

◆ CheckoutUserError()

Shopify.Unity.CheckoutUserError.CheckoutUserError ( Dictionary< string, object >  dataJSON)
inline

Accepts deserialized json data. Will further parse passed in data.

Parameters
dataJSONDeserialized JSON data for CheckoutUserError

Member Function Documentation

◆ code()

CheckoutErrorCode? Shopify.Unity.CheckoutUserError.code ( )
inline

Error code to uniquely identify the error.

◆ field()

List<string> Shopify.Unity.CheckoutUserError.field ( )
inline

Path to the input field which caused the error.

Implements Shopify.Unity.DisplayableError.

◆ message()

string Shopify.Unity.CheckoutUserError.message ( )
inline

The error message.

Implements Shopify.Unity.DisplayableError.


The documentation for this class was generated from the following file: