Constructors

Link copied to clipboard
public void Merchant()
Constructs a new empty instance.
public void Merchant(String json)
Constructs a new instance from the given JSON String.
public void Merchant(JSONObject jsonObject)
Construct a new instance backed by the given JSONObject, the parameter is not copied so changes to it will be reflected in this instance and vice-versa.
public void Merchant(Merchant src)
Constructs a new instance that is a deep copy of the source instance.

Types

Link copied to clipboard
public interface Constraints

Properties

Link copied to clipboard
public final static int CONTENTS_FILE_DESCRIPTOR
Link copied to clipboard
public final static Parcelable.Creator<Merchant> CREATOR
Link copied to clipboard
Link copied to clipboard
public final static int PARCELABLE_WRITE_RETURN_VALUE

Functions

Link copied to clipboard
public void clearAccountType()
Clears the 'accountType' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearAddress()
Clears the 'address' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearBankProcessing()
Clears the 'bankProcessing' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearBillingInfo()
Clears the 'billingInfo' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearCreatedTime()
Clears the 'createdTime' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'customerContactEmail' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearDefaultCurrency()
Clears the 'defaultCurrency' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearDeviceBoardings()
Clears the 'deviceBoardings' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearDevices()
Clears the 'devices' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearEmployees()
Clears the 'employees' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearExternalMerchants()
Clears the 'externalMerchants' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearGateway()
Clears the 'gateway' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearHierarchy()
Clears the 'hierarchy' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearId()
Clears the 'id' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearIsBillable()
Clears the 'isBillable' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearItems()
Clears the 'items' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearLogos()
Clears the 'logos' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearMerchantBoarding()
Clears the 'merchantBoarding' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearMerchantGroups()
Clears the 'merchantGroups' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearMerchantPlan()
Clears the 'merchantPlan' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearModifierGroups()
Clears the 'modifierGroups' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearName()
Clears the 'name' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearOpeningHours()
Clears the 'opening_hours' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearOrders()
Clears the 'orders' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearOrderTypes()
Clears the 'orderTypes' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearOwner()
Clears the 'owner' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearPartnerApp()
Clears the 'partnerApp' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearPayments()
Clears the 'payments' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearPhoneNumber()
Clears the 'phoneNumber' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearPrinters()
Clears the 'printers' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearProgramExpresses()
Clears the 'programExpresses' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearProperties()
Clears the 'properties' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearReseller()
Clears the 'reseller' field, the 'has' method for this field will now return false
Link copied to clipboard
Clears the 'selfBoardingApplication' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearShifts()
Clears the 'shifts' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearTags()
Clears the 'tags' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearTaxRates()
Clears the 'taxRates' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearTenders()
Clears the 'tenders' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearTipSuggestions()
Clears the 'tipSuggestions' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearWebsite()
Clears the 'website' field, the 'has' method for this field will now return false
Link copied to clipboard
public boolean containsChanges()
Returns true if this instance has any changes.
Link copied to clipboard
Create a copy of this instance that contains only fields that were set after the constructor was called.
Link copied to clipboard
public abstract int describeContents()
public final int describeContents()
Link copied to clipboard
The account type for the merchant.
Link copied to clipboard
The address of the merchant.
Link copied to clipboard
Bank processing data for this merchant
Link copied to clipboard
Billing information for the merchant in context.
Link copied to clipboard
public final Bundle getBundle()
Gets a Bundle which can be used to get and set data attached to this instance.
Link copied to clipboard
Link copied to clipboard
Email address for customers to contact merchant through
Link copied to clipboard
Link copied to clipboard
A list of additional device boarding data for this merchant
Link copied to clipboard
A list of devices a merchant owns, 128-bit UUIDs, not a normal base-13 Clover IDs.
Link copied to clipboard
This merchant's employees
Link copied to clipboard
A list of external merchants for this merchant
Link copied to clipboard
Link copied to clipboard
Business hierarchy data for merchant.
Link copied to clipboard
public String getId()
Unique identifier
Link copied to clipboard
Deprecated (use billingInfo instead): Returns true when the merchant is billable.
Link copied to clipboard
public List<Item> getItems()
This merchant's inventory items
Link copied to clipboard
Returns the internal JSONObject backing this instance, the return value is not a copy so changes to it will be reflected in this instance and vice-versa.
Link copied to clipboard
public List<Logo> getLogos()
Link copied to clipboard
Additional data collected during boarding
Link copied to clipboard
A list of merchant groups a merchant belongs to
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String getName()
Name of the merchant
Link copied to clipboard
This merchant's opening hours
Link copied to clipboard
public List<Order> getOrders()
This merchant's orders
Link copied to clipboard
Link copied to clipboard
public Employee getOwner()
The account that owns this merchant
Link copied to clipboard
The partner app/solution with which this merchant is primarily associated
Link copied to clipboard
This merchant's order payments
Link copied to clipboard
DEPRECATED: Use phoneNumber field in address instead.
Link copied to clipboard
Link copied to clipboard
A list of program expresses for this merchant
Link copied to clipboard
Link copied to clipboard
The merchant's reseller
Link copied to clipboard
The boarding application submitted by the merchant
Link copied to clipboard
public List<Shift> getShifts()
This merchant's employees' shifts
Link copied to clipboard
public List<Tag> getTags()
This merchant's inventory tags
Link copied to clipboard
Link copied to clipboard
This merchant's supported tenders
Link copied to clipboard
Link copied to clipboard
public String getWebsite()
Link copied to clipboard
public boolean hasAccountType()
Checks whether the 'accountType' field has been set, however the value could be null
Link copied to clipboard
public boolean hasAddress()
Checks whether the 'address' field has been set, however the value could be null
Link copied to clipboard
public boolean hasBankProcessing()
Checks whether the 'bankProcessing' field has been set, however the value could be null
Link copied to clipboard
public boolean hasBillingInfo()
Checks whether the 'billingInfo' field has been set, however the value could be null
Link copied to clipboard
public boolean hasCreatedTime()
Checks whether the 'createdTime' field has been set, however the value could be null
Link copied to clipboard
public boolean hasCustomerContactEmail()
Checks whether the 'customerContactEmail' field has been set, however the value could be null
Link copied to clipboard
public boolean hasDefaultCurrency()
Checks whether the 'defaultCurrency' field has been set, however the value could be null
Link copied to clipboard
public boolean hasDeviceBoardings()
Checks whether the 'deviceBoardings' field has been set, however the value could be null
Link copied to clipboard
public boolean hasDevices()
Checks whether the 'devices' field has been set, however the value could be null
Link copied to clipboard
public boolean hasEmployees()
Checks whether the 'employees' field has been set, however the value could be null
Link copied to clipboard
public boolean hasExternalMerchants()
Checks whether the 'externalMerchants' field has been set, however the value could be null
Link copied to clipboard
public boolean hasGateway()
Checks whether the 'gateway' field has been set, however the value could be null
Link copied to clipboard
public boolean hasHierarchy()
Checks whether the 'hierarchy' field has been set, however the value could be null
Link copied to clipboard
public boolean hasId()
Checks whether the 'id' field has been set, however the value could be null
Link copied to clipboard
public boolean hasIsBillable()
Checks whether the 'isBillable' field has been set, however the value could be null
Link copied to clipboard
public boolean hasItems()
Checks whether the 'items' field has been set, however the value could be null
Link copied to clipboard
public boolean hasLogos()
Checks whether the 'logos' field has been set, however the value could be null
Link copied to clipboard
public boolean hasMerchantBoarding()
Checks whether the 'merchantBoarding' field has been set, however the value could be null
Link copied to clipboard
public boolean hasMerchantGroups()
Checks whether the 'merchantGroups' field has been set, however the value could be null
Link copied to clipboard
public boolean hasMerchantPlan()
Checks whether the 'merchantPlan' field has been set, however the value could be null
Link copied to clipboard
public boolean hasModifierGroups()
Checks whether the 'modifierGroups' field has been set, however the value could be null
Link copied to clipboard
public boolean hasName()
Checks whether the 'name' field has been set, however the value could be null
Link copied to clipboard
public boolean hasOpeningHours()
Checks whether the 'opening_hours' field has been set, however the value could be null
Link copied to clipboard
public boolean hasOrders()
Checks whether the 'orders' field has been set, however the value could be null
Link copied to clipboard
public boolean hasOrderTypes()
Checks whether the 'orderTypes' field has been set, however the value could be null
Link copied to clipboard
public boolean hasOwner()
Checks whether the 'owner' field has been set, however the value could be null
Link copied to clipboard
public boolean hasPartnerApp()
Checks whether the 'partnerApp' field has been set, however the value could be null
Link copied to clipboard
public boolean hasPayments()
Checks whether the 'payments' field has been set, however the value could be null
Link copied to clipboard
public boolean hasPhoneNumber()
Checks whether the 'phoneNumber' field has been set, however the value could be null
Link copied to clipboard
public boolean hasPrinters()
Checks whether the 'printers' field has been set, however the value could be null
Link copied to clipboard
public boolean hasProgramExpresses()
Checks whether the 'programExpresses' field has been set, however the value could be null
Link copied to clipboard
public boolean hasProperties()
Checks whether the 'properties' field has been set, however the value could be null
Link copied to clipboard
public boolean hasReseller()
Checks whether the 'reseller' field has been set, however the value could be null
Link copied to clipboard
public boolean hasSelfBoardingApplication()
Checks whether the 'selfBoardingApplication' field has been set, however the value could be null
Link copied to clipboard
public boolean hasShifts()
Checks whether the 'shifts' field has been set, however the value could be null
Link copied to clipboard
public boolean hasTags()
Checks whether the 'tags' field has been set, however the value could be null
Link copied to clipboard
public boolean hasTaxRates()
Checks whether the 'taxRates' field has been set, however the value could be null
Link copied to clipboard
public boolean hasTenders()
Checks whether the 'tenders' field has been set, however the value could be null
Link copied to clipboard
public boolean hasTipSuggestions()
Checks whether the 'tipSuggestions' field has been set, however the value could be null
Link copied to clipboard
public boolean hasWebsite()
Checks whether the 'website' field has been set, however the value could be null
Link copied to clipboard
public boolean isNotEmptyDeviceBoardings()
Checks whether the 'deviceBoardings' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyDevices()
Checks whether the 'devices' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyEmployees()
Checks whether the 'employees' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyExternalMerchants()
Checks whether the 'externalMerchants' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyItems()
Checks whether the 'items' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyLogos()
Checks whether the 'logos' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyMerchantGroups()
Checks whether the 'merchantGroups' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyModifierGroups()
Checks whether the 'modifierGroups' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyOpeningHours()
Checks whether the 'opening_hours' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyOrders()
Checks whether the 'orders' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyOrderTypes()
Checks whether the 'orderTypes' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyPayments()
Checks whether the 'payments' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyPrinters()
Checks whether the 'printers' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyProgramExpresses()
Checks whether the 'programExpresses' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyShifts()
Checks whether the 'shifts' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyTags()
Checks whether the 'tags' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyTaxRates()
Checks whether the 'taxRates' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyTenders()
Checks whether the 'tenders' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotEmptyTipSuggestions()
Checks whether the 'tipSuggestions' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotNullAccountType()
Checks whether the 'accountType' field is set and is not null
Link copied to clipboard
public boolean isNotNullAddress()
Checks whether the 'address' field is set and is not null
Link copied to clipboard
public boolean isNotNullBankProcessing()
Checks whether the 'bankProcessing' field is set and is not null
Link copied to clipboard
public boolean isNotNullBillingInfo()
Checks whether the 'billingInfo' field is set and is not null
Link copied to clipboard
public boolean isNotNullCreatedTime()
Checks whether the 'createdTime' field is set and is not null
Link copied to clipboard
Checks whether the 'customerContactEmail' field is set and is not null
Link copied to clipboard
public boolean isNotNullDefaultCurrency()
Checks whether the 'defaultCurrency' field is set and is not null
Link copied to clipboard
public boolean isNotNullDeviceBoardings()
Checks whether the 'deviceBoardings' field is set and is not null
Link copied to clipboard
public boolean isNotNullDevices()
Checks whether the 'devices' field is set and is not null
Link copied to clipboard
public boolean isNotNullEmployees()
Checks whether the 'employees' field is set and is not null
Link copied to clipboard
public boolean isNotNullExternalMerchants()
Checks whether the 'externalMerchants' field is set and is not null
Link copied to clipboard
public boolean isNotNullGateway()
Checks whether the 'gateway' field is set and is not null
Link copied to clipboard
public boolean isNotNullHierarchy()
Checks whether the 'hierarchy' field is set and is not null
Link copied to clipboard
public boolean isNotNullId()
Checks whether the 'id' field is set and is not null
Link copied to clipboard
public boolean isNotNullIsBillable()
Checks whether the 'isBillable' field is set and is not null
Link copied to clipboard
public boolean isNotNullItems()
Checks whether the 'items' field is set and is not null
Link copied to clipboard
public boolean isNotNullLogos()
Checks whether the 'logos' field is set and is not null
Link copied to clipboard
public boolean isNotNullMerchantBoarding()
Checks whether the 'merchantBoarding' field is set and is not null
Link copied to clipboard
public boolean isNotNullMerchantGroups()
Checks whether the 'merchantGroups' field is set and is not null
Link copied to clipboard
public boolean isNotNullMerchantPlan()
Checks whether the 'merchantPlan' field is set and is not null
Link copied to clipboard
public boolean isNotNullModifierGroups()
Checks whether the 'modifierGroups' field is set and is not null
Link copied to clipboard
public boolean isNotNullName()
Checks whether the 'name' field is set and is not null
Link copied to clipboard
public boolean isNotNullOpeningHours()
Checks whether the 'opening_hours' field is set and is not null
Link copied to clipboard
public boolean isNotNullOrders()
Checks whether the 'orders' field is set and is not null
Link copied to clipboard
public boolean isNotNullOrderTypes()
Checks whether the 'orderTypes' field is set and is not null
Link copied to clipboard
public boolean isNotNullOwner()
Checks whether the 'owner' field is set and is not null
Link copied to clipboard
public boolean isNotNullPartnerApp()
Checks whether the 'partnerApp' field is set and is not null
Link copied to clipboard
public boolean isNotNullPayments()
Checks whether the 'payments' field is set and is not null
Link copied to clipboard
public boolean isNotNullPhoneNumber()
Checks whether the 'phoneNumber' field is set and is not null
Link copied to clipboard
public boolean isNotNullPrinters()
Checks whether the 'printers' field is set and is not null
Link copied to clipboard
public boolean isNotNullProgramExpresses()
Checks whether the 'programExpresses' field is set and is not null
Link copied to clipboard
public boolean isNotNullProperties()
Checks whether the 'properties' field is set and is not null
Link copied to clipboard
public boolean isNotNullReseller()
Checks whether the 'reseller' field is set and is not null
Link copied to clipboard
Checks whether the 'selfBoardingApplication' field is set and is not null
Link copied to clipboard
public boolean isNotNullShifts()
Checks whether the 'shifts' field is set and is not null
Link copied to clipboard
public boolean isNotNullTags()
Checks whether the 'tags' field is set and is not null
Link copied to clipboard
public boolean isNotNullTaxRates()
Checks whether the 'taxRates' field is set and is not null
Link copied to clipboard
public boolean isNotNullTenders()
Checks whether the 'tenders' field is set and is not null
Link copied to clipboard
public boolean isNotNullTipSuggestions()
Checks whether the 'tipSuggestions' field is set and is not null
Link copied to clipboard
public boolean isNotNullWebsite()
Checks whether the 'website' field is set and is not null
Link copied to clipboard
public void mergeChanges(Merchant src)
Copy all the changed fields from the given source to this instance.
Link copied to clipboard
public void resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
Link copied to clipboard
public Merchant setAccountType(String accountType)
Sets the field 'accountType'.
Link copied to clipboard
public Merchant setAddress(Address address)
Sets the field 'address'.
Link copied to clipboard
Sets the field 'bankProcessing'.
Link copied to clipboard
Sets the field 'billingInfo'.
Link copied to clipboard
public Merchant setCreatedTime(Long createdTime)
Sets the field 'createdTime'.
Link copied to clipboard
public Merchant setCustomerContactEmail(String customerContactEmail)
Sets the field 'customerContactEmail'.
Link copied to clipboard
public Merchant setDefaultCurrency(String defaultCurrency)
Sets the field 'defaultCurrency'.
Link copied to clipboard
Sets the field 'deviceBoardings'.
Link copied to clipboard
public Merchant setDevices(List<Reference> devices)
Sets the field 'devices'.
Link copied to clipboard
public Merchant setEmployees(List<Employee> employees)
Sets the field 'employees'.
Link copied to clipboard
public Merchant setExternalMerchants(List<ExternalMerchant> externalMerchants)
Sets the field 'externalMerchants'.
Link copied to clipboard
public Merchant setGateway(Gateway gateway)
Sets the field 'gateway'.
Link copied to clipboard
Sets the field 'hierarchy'.
Link copied to clipboard
public Merchant setId(String id)
Sets the field 'id'.
Link copied to clipboard
public Merchant setIsBillable(Boolean isBillable)
Sets the field 'isBillable'.
Link copied to clipboard
public Merchant setItems(List<Item> items)
Sets the field 'items'.
Link copied to clipboard
public Merchant setLogos(List<Logo> logos)
Sets the field 'logos'.
Link copied to clipboard
public Merchant setMerchantBoarding(MerchantBoarding merchantBoarding)
Sets the field 'merchantBoarding'.
Link copied to clipboard
public Merchant setMerchantGroups(List<Reference> merchantGroups)
Sets the field 'merchantGroups'.
Link copied to clipboard
public Merchant setMerchantPlan(MerchantPlan merchantPlan)
Sets the field 'merchantPlan'.
Link copied to clipboard
public Merchant setModifierGroups(List<ModifierGroup> modifierGroups)
Sets the field 'modifierGroups'.
Link copied to clipboard
public Merchant setName(String name)
Sets the field 'name'.
Link copied to clipboard
public Merchant setOpeningHours(List<HoursSet> opening_hours)
Sets the field 'opening_hours'.
Link copied to clipboard
public Merchant setOrders(List<Order> orders)
Sets the field 'orders'.
Link copied to clipboard
public Merchant setOrderTypes(List<OrderType> orderTypes)
Sets the field 'orderTypes'.
Link copied to clipboard
public Merchant setOwner(Employee owner)
Sets the field 'owner'.
Link copied to clipboard
public Merchant setPartnerApp(Reference partnerApp)
Sets the field 'partnerApp'.
Link copied to clipboard
public Merchant setPayments(List<Payment> payments)
Sets the field 'payments'.
Link copied to clipboard
public Merchant setPhoneNumber(String phoneNumber)
Sets the field 'phoneNumber'.
Link copied to clipboard
public Merchant setPrinters(List<Printer> printers)
Sets the field 'printers'.
Link copied to clipboard
Sets the field 'programExpresses'.
Link copied to clipboard
Sets the field 'properties'.
Link copied to clipboard
public Merchant setReseller(Reference reseller)
Sets the field 'reseller'.
Link copied to clipboard
public Merchant setSelfBoardingApplication(Reference selfBoardingApplication)
Sets the field 'selfBoardingApplication'.
Link copied to clipboard
public Merchant setShifts(List<Shift> shifts)
Sets the field 'shifts'.
Link copied to clipboard
public Merchant setTags(List<Tag> tags)
Sets the field 'tags'.
Link copied to clipboard
public Merchant setTaxRates(List<TaxRate> taxRates)
Sets the field 'taxRates'.
Link copied to clipboard
public Merchant setTenders(List<Tender> tenders)
Sets the field 'tenders'.
Link copied to clipboard
public Merchant setTipSuggestions(List<TipSuggestion> tipSuggestions)
Sets the field 'tipSuggestions'.
Link copied to clipboard
public Merchant setWebsite(String website)
Sets the field 'website'.
Link copied to clipboard
public final String toString()
Link copied to clipboard
public void validate()
Link copied to clipboard
public abstract void writeToParcel(Parcel p, int p1)
public final void writeToParcel(Parcel dest, int flags)