Package com.clover.sdk.v1.merchant
Class Merchant
- java.lang.Object
-
- com.clover.sdk.v1.merchant.Merchant
-
- All Implemented Interfaces:
Parcelable
public class Merchant extends Object implements Parcelable
A class representing a merchant. Instances of this class are immutable.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<Merchant>
CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
String
getAbaAccountNumber()
Account
getAccount()
Get the merchant account.MerchantAddress
getAddress()
Get the merchant address.String
getAppBillingSystem()
Currency
getCurrency()
Get the merchant currency.String
getDdaAccountNumber()
String
getDeviceId()
Get the device ID.String
getGatewayClosingTime()
String
getId()
Get the merchant ID.Boolean
getIsBillable()
Locale
getLocale()
Get the locale.String
getMerchantPlanId()
String
getMid()
Get the merchant MIDList<Module>
getModules()
Get the modules this particular merchant currently has enabled.String
getName()
Get the merchant name.Boolean
getNewBatchCloseEnabled()
boolean
getPaidAppsFree()
Get paid apps freeString
getPhoneNumber()
Get the merchant phone number.String
getSupportEmail()
Get the support email.String
getSupportPhone()
Get the support phone number.TimeZone
getTimeZone()
Get the merchant time zone.List<TipSuggestion>
getTipSuggestions()
String
getWebsite()
Get the merchant website.boolean
isTrackStockEnabled()
Returns whether this merchant is using Clover to track stockboolean
isUpdateStockEnabled()
Returns whether this merchant is using Clover to update stockboolean
isVat()
Returns whether this merchant is in a region using VATString
toString()
void
writeToParcel(Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<Merchant> CREATOR
-
-
Method Detail
-
getId
public String getId()
Get the merchant ID.
-
getName
public String getName()
Get the merchant name.
-
getCurrency
public Currency getCurrency()
Get the merchant currency.
-
getTimeZone
public TimeZone getTimeZone()
Get the merchant time zone.
-
getAccount
public Account getAccount()
Get the merchant account.
-
getAddress
public MerchantAddress getAddress()
Get the merchant address.
-
getDeviceId
public String getDeviceId()
Get the device ID.
-
getPhoneNumber
public String getPhoneNumber()
Get the merchant phone number.
-
getWebsite
public String getWebsite()
Get the merchant website.
-
getMid
public String getMid()
Get the merchant MID
-
getModules
public List<Module> getModules()
Get the modules this particular merchant currently has enabled.- See Also:
Module
-
getGatewayClosingTime
public String getGatewayClosingTime()
- Returns:
- return merchant gateway closingTime property
-
getNewBatchCloseEnabled
public Boolean getNewBatchCloseEnabled()
- Returns:
- merchant gateway batchCloseEnabled property
-
isVat
public boolean isVat()
Returns whether this merchant is in a region using VAT
-
getSupportPhone
public String getSupportPhone()
Get the support phone number.
-
getSupportEmail
public String getSupportEmail()
Get the support email.
-
getLocale
public Locale getLocale()
Get the locale.
-
isUpdateStockEnabled
public boolean isUpdateStockEnabled()
Returns whether this merchant is using Clover to update stock
-
isTrackStockEnabled
public boolean isTrackStockEnabled()
Returns whether this merchant is using Clover to track stock
-
getPaidAppsFree
public boolean getPaidAppsFree()
Get paid apps free
-
getAppBillingSystem
public String getAppBillingSystem()
-
getAbaAccountNumber
public String getAbaAccountNumber()
-
getDdaAccountNumber
public String getDdaAccountNumber()
-
getIsBillable
public Boolean getIsBillable()
-
getMerchantPlanId
public String getMerchantPlanId()
-
getTipSuggestions
public List<TipSuggestion> getTipSuggestions()
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceParcelable
-
-