Shopify SDK for Unity
Public Member Functions | Static Public Attributes | Properties | List of all members
Shopify.Unity.CustomerUpdateInput Class Reference

Specifies the fields required to update the Customer information. More...

Inheritance diagram for Shopify.Unity.CustomerUpdateInput:
Shopify.Unity.SDK.InputBase

Public Member Functions

 CustomerUpdateInput (string firstName=null, string lastName=null, string email=null, string phone=null, string password=null, bool? acceptsMarketing=null)
 
 CustomerUpdateInput (Dictionary< string, object > dataJSON)
 
- Public Member Functions inherited from Shopify.Unity.SDK.InputBase
override string ToString ()
 Returns a string representing a GraphQL input object. More...
 

Static Public Attributes

const string firstNameFieldKey = "firstName"
 
const string lastNameFieldKey = "lastName"
 
const string emailFieldKey = "email"
 
const string phoneFieldKey = "phone"
 
const string passwordFieldKey = "password"
 
const string acceptsMarketingFieldKey = "acceptsMarketing"
 

Properties

string firstName [get, set]
 The customer’s first name. More...
 
string lastName [get, set]
 The customer’s last name. More...
 
string email [get, set]
 The customer’s email. More...
 
string phone [get, set]
 A unique phone number for the customer. More...
 
string password [get, set]
 The login password used by the customer. More...
 
bool? acceptsMarketing [get, set]
 Indicates whether the customer has consented to be sent marketing material via email. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Shopify.Unity.SDK.InputBase
void Set (string key, object value)
 
object Get (string key)
 

Detailed Description

Specifies the fields required to update the Customer information.

Constructor & Destructor Documentation

◆ CustomerUpdateInput() [1/2]

Shopify.Unity.CustomerUpdateInput.CustomerUpdateInput ( string  firstName = null,
string  lastName = null,
string  email = null,
string  phone = null,
string  password = null,
bool?  acceptsMarketing = null 
)
inline
Parameters
firstNameThe customer’s first name.
lastNameThe customer’s last name.
emailThe customer’s email.
phoneA unique phone number for the customer.

Formatted using E.164 standard. For example, +16135551111. To remove the phone number, specify null.

Parameters
passwordThe login password used by the customer.
acceptsMarketingIndicates whether the customer has consented to be sent marketing material via email.

◆ CustomerUpdateInput() [2/2]

Shopify.Unity.CustomerUpdateInput.CustomerUpdateInput ( Dictionary< string, object >  dataJSON)
inline
Parameters
firstNameThe customer’s first name.
lastNameThe customer’s last name.
emailThe customer’s email.
phoneA unique phone number for the customer.

Formatted using E.164 standard. For example, +16135551111. To remove the phone number, specify null.

Parameters
passwordThe login password used by the customer.
acceptsMarketingIndicates whether the customer has consented to be sent marketing material via email.

Property Documentation

◆ acceptsMarketing

bool? Shopify.Unity.CustomerUpdateInput.acceptsMarketing
getset

Indicates whether the customer has consented to be sent marketing material via email.

◆ email

string Shopify.Unity.CustomerUpdateInput.email
getset

The customer’s email.

◆ firstName

string Shopify.Unity.CustomerUpdateInput.firstName
getset

The customer’s first name.

◆ lastName

string Shopify.Unity.CustomerUpdateInput.lastName
getset

The customer’s last name.

◆ password

string Shopify.Unity.CustomerUpdateInput.password
getset

The login password used by the customer.

◆ phone

string Shopify.Unity.CustomerUpdateInput.phone
getset

A unique phone number for the customer.

Formatted using E.164 standard. For example, +16135551111. To remove the phone number, specify null.


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