A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout.
More...
|
T | Get< T > (string field, string alias=null) |
|
Dictionary< string, object > | Data |
|
Dictionary< string, object > | DataJSON [get, protected set] |
|
A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout.
◆ Customer()
Shopify.Unity.Customer.Customer |
( |
Dictionary< string, object > |
dataJSON | ) |
|
|
inline |
Accepts deserialized json data. Will further parse passed in data.
- Parameters
-
dataJSON | Deserialized JSON data for Customer |
◆ acceptsMarketing()
bool Shopify.Unity.Customer.acceptsMarketing |
( |
| ) |
|
|
inline |
Indicates whether the customer has consented to be sent marketing material via email.
◆ addresses()
A list of addresses for the customer.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ createdAt()
DateTime? Shopify.Unity.Customer.createdAt |
( |
| ) |
|
|
inline |
The date and time when the customer was created.
◆ defaultAddress()
The customer’s default address.
◆ displayName()
string Shopify.Unity.Customer.displayName |
( |
| ) |
|
|
inline |
The customer’s name, email or phone number.
◆ email()
string Shopify.Unity.Customer.email |
( |
| ) |
|
|
inline |
The customer’s email address.
◆ firstName()
string Shopify.Unity.Customer.firstName |
( |
| ) |
|
|
inline |
The customer’s first name.
◆ id()
string Shopify.Unity.Customer.id |
( |
| ) |
|
|
inline |
A unique identifier for the customer.
◆ lastIncompleteCheckout()
Checkout Shopify.Unity.Customer.lastIncompleteCheckout |
( |
| ) |
|
|
inline |
The customer's most recently updated, incomplete checkout.
◆ lastName()
string Shopify.Unity.Customer.lastName |
( |
| ) |
|
|
inline |
The customer’s last name.
◆ orders()
The orders associated with the customer.
- Parameters
-
alias | If the original field queried was queried using an alias, then pass the matching string. |
◆ phone()
string Shopify.Unity.Customer.phone |
( |
| ) |
|
|
inline |
The customer’s phone number.
◆ tags()
List<string> Shopify.Unity.Customer.tags |
( |
| ) |
|
|
inline |
A comma separated list of tags that have been added to the customer. Additional access scope required: unauthenticated_read_customer_tags.
◆ updatedAt()
DateTime? Shopify.Unity.Customer.updatedAt |
( |
| ) |
|
|
inline |
The date and time when the customer information was updated.
The documentation for this class was generated from the following file:
- Assets/Shopify/Unity/Generated/Customer.cs