Package model
Class Merchant
- java.lang.Object
-
- model.Merchant
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Merchant extends Object
Merchant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMerchant.CustomTypeAdapterFactorystatic classMerchant.OnboardingStateEnumDetails the state of the `Merchant's` onboarding.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Merchant()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Merchantapplication(String application)MerchantcardCvvRequired(Boolean cardCvvRequired)MerchantcardExpirationDateRequired(Boolean cardExpirationDateRequired)MerchantconvenienceChargesEnabled(Boolean convenienceChargesEnabled)MerchantcreatedAt(OffsetDateTime createdAt)MerchantcreatingTransferFromReportEnabled(Boolean creatingTransferFromReportEnabled)booleanequals(Object o)MerchantfeeReadyToSettleUpon(String feeReadyToSettleUpon)static MerchantfromJson(String jsonString)Create an instance of Merchant given an JSON stringStringgetApplication()ID of the `Application` the `Merchant` was created under.BooleangetCardCvvRequired()Set to **true** to require the card's CVV code.BooleangetCardExpirationDateRequired()Set to **true** to require the card's expiration date.BooleangetConvenienceChargesEnabled()Set to **true** if you want to enable the `Merchant` to accept convenience fees and/or service fees.OffsetDateTimegetCreatedAt()Timestamp of when the object was created.BooleangetCreatingTransferFromReportEnabled()Set to **true** to automatically create `Transfers` once settlement reports get generated.StringgetFeeReadyToSettleUpon()Details how the `Merchant` settles fees.BooleangetGrossSettlementEnabled()Set to **true** to enable gross settlements.StringgetId()The ID of the resource.StringgetIdentity()The ID of the `Identity` resource associated with the `Merchant`.BooleangetLevelTwoLevelThreeDataEnabled()Set to **true** to enable the `Merchant` for Level 2 and Level 3 processing.MerchantLinksgetLinks()Get linksStringgetMcc()The Merchant Category Code ([MCC](http://www.dm.usda.gov/procurement/card/card_x/mcc.pdf)) that this merchant will be classified under.StringgetMerchantName()The legal name saved in the `Merchant` resource.StringgetMerchantProfile()Details if a merchant's info was submitted to third-party processors for provisioning.StringgetMid()MID of the `Merchant`.Merchant.OnboardingStateEnumgetOnboardingState()Details the state of the `Merchant's` onboarding.BooleangetProcessingEnabled()Details if transaction processing is enabled for the `Merchant`.StringgetProcessor()Name of the transaction processor.MerchantProcessorDetailsgetProcessorDetails()Get processorDetailsStringgetReadyToSettleUpon()Details how `Authorizations` captured by the `Merchant` are settled.BooleangetRentSurchargesEnabled()Set to **true** if you want to enable a `Merchant` to accept rent charges.BooleangetSettlementEnabled()Details if settlement processing is enabled for the `Merchant`.StringgetSettlementFundingIdentifier()Include addtional information (like the MID) when submitting funding `Tranfers` to processors.Map<String,String>getTags()Key value pair for annotating custom meta data (e.g.OffsetDateTimegetUpdatedAt()Timestamp of when the object was last updated.StringgetVerification()ID of the `Verification` that was submitted to verify the `Merchant`.MerchantgrossSettlementEnabled(Boolean grossSettlementEnabled)inthashCode()Merchantid(String id)Merchantidentity(String identity)MerchantlevelTwoLevelThreeDataEnabled(Boolean levelTwoLevelThreeDataEnabled)Merchantlinks(MerchantLinks links)Merchantmcc(String mcc)MerchantmerchantName(String merchantName)MerchantmerchantProfile(String merchantProfile)Merchantmid(String mid)MerchantonboardingState(Merchant.OnboardingStateEnum onboardingState)MerchantprocessingEnabled(Boolean processingEnabled)Merchantprocessor(String processor)MerchantprocessorDetails(MerchantProcessorDetails processorDetails)MerchantputTagsItem(String key, String tagsItem)MerchantreadyToSettleUpon(String readyToSettleUpon)MerchantrentSurchargesEnabled(Boolean rentSurchargesEnabled)voidsetApplication(String application)voidsetCardCvvRequired(Boolean cardCvvRequired)voidsetCardExpirationDateRequired(Boolean cardExpirationDateRequired)voidsetConvenienceChargesEnabled(Boolean convenienceChargesEnabled)voidsetCreatedAt(OffsetDateTime createdAt)voidsetCreatingTransferFromReportEnabled(Boolean creatingTransferFromReportEnabled)voidsetFeeReadyToSettleUpon(String feeReadyToSettleUpon)voidsetGrossSettlementEnabled(Boolean grossSettlementEnabled)voidsetId(String id)voidsetIdentity(String identity)voidsetLevelTwoLevelThreeDataEnabled(Boolean levelTwoLevelThreeDataEnabled)voidsetLinks(MerchantLinks links)voidsetMcc(String mcc)voidsetMerchantName(String merchantName)voidsetMerchantProfile(String merchantProfile)voidsetMid(String mid)voidsetOnboardingState(Merchant.OnboardingStateEnum onboardingState)voidsetProcessingEnabled(Boolean processingEnabled)voidsetProcessor(String processor)voidsetProcessorDetails(MerchantProcessorDetails processorDetails)voidsetReadyToSettleUpon(String readyToSettleUpon)voidsetRentSurchargesEnabled(Boolean rentSurchargesEnabled)voidsetSettlementEnabled(Boolean settlementEnabled)voidsetSettlementFundingIdentifier(String settlementFundingIdentifier)voidsetTags(Map<String,String> tags)MerchantsettlementEnabled(Boolean settlementEnabled)MerchantsettlementFundingIdentifier(String settlementFundingIdentifier)voidsetUpdatedAt(OffsetDateTime updatedAt)voidsetVerification(String verification)Merchanttags(Map<String,String> tags)StringtoJson()Convert an instance of Merchant to an JSON stringStringtoString()MerchantupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundMerchantverification(String verification)
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_APPLICATION
public static final String SERIALIZED_NAME_APPLICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CARD_CVV_REQUIRED
public static final String SERIALIZED_NAME_CARD_CVV_REQUIRED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CARD_EXPIRATION_DATE_REQUIRED
public static final String SERIALIZED_NAME_CARD_EXPIRATION_DATE_REQUIRED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATING_TRANSFER_FROM_REPORT_ENABLED
public static final String SERIALIZED_NAME_CREATING_TRANSFER_FROM_REPORT_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONVENIENCE_CHARGES_ENABLED
public static final String SERIALIZED_NAME_CONVENIENCE_CHARGES_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FEE_READY_TO_SETTLE_UPON
public static final String SERIALIZED_NAME_FEE_READY_TO_SETTLE_UPON
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GROSS_SETTLEMENT_ENABLED
public static final String SERIALIZED_NAME_GROSS_SETTLEMENT_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IDENTITY
public static final String SERIALIZED_NAME_IDENTITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LEVEL_TWO_LEVEL_THREE_DATA_ENABLED
public static final String SERIALIZED_NAME_LEVEL_TWO_LEVEL_THREE_DATA_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MCC
public static final String SERIALIZED_NAME_MCC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT_NAME
public static final String SERIALIZED_NAME_MERCHANT_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT_PROFILE
public static final String SERIALIZED_NAME_MERCHANT_PROFILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MID
public static final String SERIALIZED_NAME_MID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ONBOARDING_STATE
public static final String SERIALIZED_NAME_ONBOARDING_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESSOR
public static final String SERIALIZED_NAME_PROCESSOR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESSOR_DETAILS
public static final String SERIALIZED_NAME_PROCESSOR_DETAILS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESSING_ENABLED
public static final String SERIALIZED_NAME_PROCESSING_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_READY_TO_SETTLE_UPON
public static final String SERIALIZED_NAME_READY_TO_SETTLE_UPON
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RENT_SURCHARGES_ENABLED
public static final String SERIALIZED_NAME_RENT_SURCHARGES_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SETTLEMENT_ENABLED
public static final String SERIALIZED_NAME_SETTLEMENT_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SETTLEMENT_FUNDING_IDENTIFIER
public static final String SERIALIZED_NAME_SETTLEMENT_FUNDING_IDENTIFIER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERIFICATION
public static final String SERIALIZED_NAME_VERIFICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
setId
public void setId(String id)
-
createdAt
public Merchant createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public Merchant updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
getApplication
@Nullable public String getApplication()
ID of the `Application` the `Merchant` was created under.- Returns:
- application
-
setApplication
public void setApplication(String application)
-
getCardCvvRequired
@Nullable public Boolean getCardCvvRequired()
Set to **true** to require the card's CVV code.- Returns:
- cardCvvRequired
-
setCardCvvRequired
public void setCardCvvRequired(Boolean cardCvvRequired)
-
cardExpirationDateRequired
public Merchant cardExpirationDateRequired(Boolean cardExpirationDateRequired)
-
getCardExpirationDateRequired
@Nullable public Boolean getCardExpirationDateRequired()
Set to **true** to require the card's expiration date.- Returns:
- cardExpirationDateRequired
-
setCardExpirationDateRequired
public void setCardExpirationDateRequired(Boolean cardExpirationDateRequired)
-
creatingTransferFromReportEnabled
public Merchant creatingTransferFromReportEnabled(Boolean creatingTransferFromReportEnabled)
-
getCreatingTransferFromReportEnabled
@Nullable public Boolean getCreatingTransferFromReportEnabled()
Set to **true** to automatically create `Transfers` once settlement reports get generated.- Returns:
- creatingTransferFromReportEnabled
-
setCreatingTransferFromReportEnabled
public void setCreatingTransferFromReportEnabled(Boolean creatingTransferFromReportEnabled)
-
convenienceChargesEnabled
public Merchant convenienceChargesEnabled(Boolean convenienceChargesEnabled)
-
getConvenienceChargesEnabled
@Nullable public Boolean getConvenienceChargesEnabled()
Set to **true** if you want to enable the `Merchant` to accept convenience fees and/or service fees.- Returns:
- convenienceChargesEnabled
-
setConvenienceChargesEnabled
public void setConvenienceChargesEnabled(Boolean convenienceChargesEnabled)
-
getFeeReadyToSettleUpon
@Nullable public String getFeeReadyToSettleUpon()
Details how the `Merchant` settles fees.- Returns:
- feeReadyToSettleUpon
-
setFeeReadyToSettleUpon
public void setFeeReadyToSettleUpon(String feeReadyToSettleUpon)
-
getGrossSettlementEnabled
@Nullable public Boolean getGrossSettlementEnabled()
Set to **true** to enable gross settlements.- Returns:
- grossSettlementEnabled
-
setGrossSettlementEnabled
public void setGrossSettlementEnabled(Boolean grossSettlementEnabled)
-
getIdentity
@Nullable public String getIdentity()
The ID of the `Identity` resource associated with the `Merchant`.- Returns:
- identity
-
setIdentity
public void setIdentity(String identity)
-
levelTwoLevelThreeDataEnabled
public Merchant levelTwoLevelThreeDataEnabled(Boolean levelTwoLevelThreeDataEnabled)
-
getLevelTwoLevelThreeDataEnabled
@Nullable public Boolean getLevelTwoLevelThreeDataEnabled()
Set to **true** to enable the `Merchant` for Level 2 and Level 3 processing. Default value is **false**.- Returns:
- levelTwoLevelThreeDataEnabled
-
setLevelTwoLevelThreeDataEnabled
public void setLevelTwoLevelThreeDataEnabled(Boolean levelTwoLevelThreeDataEnabled)
-
getMcc
@Nullable public String getMcc()
The Merchant Category Code ([MCC](http://www.dm.usda.gov/procurement/card/card_x/mcc.pdf)) that this merchant will be classified under.- Returns:
- mcc
-
setMcc
public void setMcc(String mcc)
-
getMerchantName
@Nullable public String getMerchantName()
The legal name saved in the `Merchant` resource.- Returns:
- merchantName
-
setMerchantName
public void setMerchantName(String merchantName)
-
getMerchantProfile
@Nullable public String getMerchantProfile()
Details if a merchant's info was submitted to third-party processors for provisioning.- Returns:
- merchantProfile
-
setMerchantProfile
public void setMerchantProfile(String merchantProfile)
-
setMid
public void setMid(String mid)
-
onboardingState
public Merchant onboardingState(Merchant.OnboardingStateEnum onboardingState)
-
getOnboardingState
@Nullable public Merchant.OnboardingStateEnum getOnboardingState()
Details the state of the `Merchant's` onboarding.- Returns:
- onboardingState
-
setOnboardingState
public void setOnboardingState(Merchant.OnboardingStateEnum onboardingState)
-
getProcessor
@Nullable public String getProcessor()
Name of the transaction processor.- Returns:
- processor
-
setProcessor
public void setProcessor(String processor)
-
processorDetails
public Merchant processorDetails(MerchantProcessorDetails processorDetails)
-
getProcessorDetails
@Nullable public MerchantProcessorDetails getProcessorDetails()
Get processorDetails- Returns:
- processorDetails
-
setProcessorDetails
public void setProcessorDetails(MerchantProcessorDetails processorDetails)
-
getProcessingEnabled
@Nullable public Boolean getProcessingEnabled()
Details if transaction processing is enabled for the `Merchant`.- Returns:
- processingEnabled
-
setProcessingEnabled
public void setProcessingEnabled(Boolean processingEnabled)
-
getReadyToSettleUpon
@Nullable public String getReadyToSettleUpon()
Details how `Authorizations` captured by the `Merchant` are settled.- Returns:
- readyToSettleUpon
-
setReadyToSettleUpon
public void setReadyToSettleUpon(String readyToSettleUpon)
-
getRentSurchargesEnabled
@Nullable public Boolean getRentSurchargesEnabled()
Set to **true** if you want to enable a `Merchant` to accept rent charges.- Returns:
- rentSurchargesEnabled
-
setRentSurchargesEnabled
public void setRentSurchargesEnabled(Boolean rentSurchargesEnabled)
-
getSettlementEnabled
@Nullable public Boolean getSettlementEnabled()
Details if settlement processing is enabled for the `Merchant`.- Returns:
- settlementEnabled
-
setSettlementEnabled
public void setSettlementEnabled(Boolean settlementEnabled)
-
settlementFundingIdentifier
public Merchant settlementFundingIdentifier(String settlementFundingIdentifier)
-
getSettlementFundingIdentifier
@Nullable public String getSettlementFundingIdentifier()
Include addtional information (like the MID) when submitting funding `Tranfers` to processors.- Returns:
- settlementFundingIdentifier
-
setSettlementFundingIdentifier
public void setSettlementFundingIdentifier(String settlementFundingIdentifier)
-
getTags
@Nullable public Map<String,String> getTags()
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
getVerification
@Nullable public String getVerification()
ID of the `Verification` that was submitted to verify the `Merchant`.- Returns:
- verification
-
setVerification
public void setVerification(String verification)
-
links
public Merchant links(MerchantLinks links)
-
getLinks
@Nullable public MerchantLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(MerchantLinks links)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to Merchant
-
fromJson
public static Merchant fromJson(String jsonString) throws IOException
Create an instance of Merchant given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Merchant
- Throws:
IOException- if the JSON string is invalid with respect to Merchant
-
toJson
public String toJson()
Convert an instance of Merchant to an JSON string- Returns:
- JSON string
-
-