Package model
Class Merchant
java.lang.Object
model.Merchant
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-06-24T13:03:18.088665-07:00[America/Los_Angeles]")
public class Merchant
extends Object
Merchant
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDetails the state of the `Merchant's` onboarding. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(String application) cardCvvRequired(Boolean cardCvvRequired) cardExpirationDateRequired(Boolean cardExpirationDateRequired) createdAt(OffsetDateTime createdAt) creatingTransferFromReportEnabled(Boolean creatingTransferFromReportEnabled) booleanfeeReadyToSettleUpon(String feeReadyToSettleUpon) static MerchantCreate an instance of Merchant given an JSON stringID of the `Application` the `Merchant` was created under.Set to **true** to require the card's CVV code.Set to **true** to require the card's expiration date.Timestamp of when the object was created.Set to **true** to automatically create `Transfers` once settlement reports get generated.Details how the `Merchant` settles fees.Set to **true** to enable gross settlements.getId()The ID of the resource.The ID of the `Identity` resource associated with the `Merchant`.Set to **true** to enable the `Merchant` for Level 2 and Level 3 processing.getLinks()Get linksgetMcc()The Merchant Category Code ([MCC](http://www.dm.usda.gov/procurement/card/card_x/mcc.pdf)) that this merchant will be classified under.The legal name saved in the `Merchant` resource.Details if a merchant's info was submitted to third-party processors for provisioning.getMid()MID of the `Merchant`.Details the state of the `Merchant's` onboarding.Details if transaction processing is enabled for the `Merchant`.Name of the transaction processor.Get processorDetailsDetails how `Authorizations` captured by the `Merchant` are settled.Details if settlement processing is enabled for the `Merchant`.Include addtional information (like the MID) when submitting funding `Tranfers` to processors.getTags()Key value pair for annotating custom meta data (e.g.Timestamp of when the object was last updated.ID of the `Verification` that was submitted to verify the `Merchant`.grossSettlementEnabled(Boolean grossSettlementEnabled) inthashCode()levelTwoLevelThreeDataEnabled(Boolean levelTwoLevelThreeDataEnabled) links(MerchantLinks links) merchantName(String merchantName) merchantProfile(String merchantProfile) onboardingState(Merchant.OnboardingStateEnum onboardingState) processingEnabled(Boolean processingEnabled) processorDetails(MerchantProcessorDetails processorDetails) putTagsItem(String key, String tagsItem) readyToSettleUpon(String readyToSettleUpon) voidsetApplication(String application) voidsetCardCvvRequired(Boolean cardCvvRequired) voidsetCardExpirationDateRequired(Boolean cardExpirationDateRequired) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatingTransferFromReportEnabled(Boolean creatingTransferFromReportEnabled) voidsetFeeReadyToSettleUpon(String feeReadyToSettleUpon) voidsetGrossSettlementEnabled(Boolean grossSettlementEnabled) voidvoidsetIdentity(String identity) voidsetLevelTwoLevelThreeDataEnabled(Boolean levelTwoLevelThreeDataEnabled) voidsetLinks(MerchantLinks links) voidvoidsetMerchantName(String merchantName) voidsetMerchantProfile(String merchantProfile) voidvoidsetOnboardingState(Merchant.OnboardingStateEnum onboardingState) voidsetProcessingEnabled(Boolean processingEnabled) voidsetProcessor(String processor) voidsetProcessorDetails(MerchantProcessorDetails processorDetails) voidsetReadyToSettleUpon(String readyToSettleUpon) voidsetSettlementEnabled(Boolean settlementEnabled) voidsetSettlementFundingIdentifier(String settlementFundingIdentifier) voidsettlementEnabled(Boolean settlementEnabled) settlementFundingIdentifier(String settlementFundingIdentifier) voidsetUpdatedAt(OffsetDateTime updatedAt) voidsetVerification(String verification) toJson()Convert an instance of Merchant to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundverification(String verification)
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_APPLICATION
- See Also:
-
SERIALIZED_NAME_IDENTITY
- See Also:
-
SERIALIZED_NAME_VERIFICATION
- See Also:
-
SERIALIZED_NAME_MERCHANT_PROFILE
- See Also:
-
SERIALIZED_NAME_PROCESSOR
- See Also:
-
SERIALIZED_NAME_PROCESSING_ENABLED
- See Also:
-
SERIALIZED_NAME_SETTLEMENT_ENABLED
- See Also:
-
SERIALIZED_NAME_GROSS_SETTLEMENT_ENABLED
- See Also:
-
SERIALIZED_NAME_CREATING_TRANSFER_FROM_REPORT_ENABLED
- See Also:
-
SERIALIZED_NAME_CARD_EXPIRATION_DATE_REQUIRED
- See Also:
-
SERIALIZED_NAME_CARD_CVV_REQUIRED
- See Also:
-
SERIALIZED_NAME_TAGS
- See Also:
-
SERIALIZED_NAME_MCC
- See Also:
-
SERIALIZED_NAME_MID
- See Also:
-
SERIALIZED_NAME_MERCHANT_NAME
- See Also:
-
SERIALIZED_NAME_SETTLEMENT_FUNDING_IDENTIFIER
- See Also:
-
SERIALIZED_NAME_READY_TO_SETTLE_UPON
- See Also:
-
SERIALIZED_NAME_FEE_READY_TO_SETTLE_UPON
- See Also:
-
SERIALIZED_NAME_LEVEL_TWO_LEVEL_THREE_DATA_ENABLED
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_ONBOARDING_STATE
- See Also:
-
SERIALIZED_NAME_PROCESSOR_DETAILS
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Merchant
public Merchant()
-
-
Method Details
-
id
-
getId
The ID of the resource.- Returns:
- id
-
setId
-
application
-
getApplication
ID of the `Application` the `Merchant` was created under.- Returns:
- application
-
setApplication
-
identity
-
getIdentity
The ID of the `Identity` resource associated with the `Merchant`.- Returns:
- identity
-
setIdentity
-
verification
-
getVerification
ID of the `Verification` that was submitted to verify the `Merchant`.- Returns:
- verification
-
setVerification
-
merchantProfile
-
getMerchantProfile
Details if a merchant's info was submitted to third-party processors for provisioning.- Returns:
- merchantProfile
-
setMerchantProfile
-
processor
-
getProcessor
Name of the transaction processor.- Returns:
- processor
-
setProcessor
-
processingEnabled
-
getProcessingEnabled
Details if transaction processing is enabled for the `Merchant`.- Returns:
- processingEnabled
-
setProcessingEnabled
-
settlementEnabled
-
getSettlementEnabled
Details if settlement processing is enabled for the `Merchant`.- Returns:
- settlementEnabled
-
setSettlementEnabled
-
grossSettlementEnabled
-
getGrossSettlementEnabled
Set to **true** to enable gross settlements.- Returns:
- grossSettlementEnabled
-
setGrossSettlementEnabled
-
creatingTransferFromReportEnabled
-
getCreatingTransferFromReportEnabled
Set to **true** to automatically create `Transfers` once settlement reports get generated.- Returns:
- creatingTransferFromReportEnabled
-
setCreatingTransferFromReportEnabled
-
cardExpirationDateRequired
-
getCardExpirationDateRequired
Set to **true** to require the card's expiration date.- Returns:
- cardExpirationDateRequired
-
setCardExpirationDateRequired
-
cardCvvRequired
-
getCardCvvRequired
Set to **true** to require the card's CVV code.- Returns:
- cardCvvRequired
-
setCardCvvRequired
-
tags
-
putTagsItem
-
getTags
Key value pair for annotating custom meta data (e.g. order numbers).- Returns:
- tags
-
setTags
-
mcc
-
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
-
mid
-
getMid
MID of the `Merchant`.- Returns:
- mid
-
setMid
-
merchantName
-
getMerchantName
The legal name saved in the `Merchant` resource.- Returns:
- merchantName
-
setMerchantName
-
settlementFundingIdentifier
-
getSettlementFundingIdentifier
Include addtional information (like the MID) when submitting funding `Tranfers` to processors.- Returns:
- settlementFundingIdentifier
-
setSettlementFundingIdentifier
-
readyToSettleUpon
-
getReadyToSettleUpon
Details how `Authorizations` captured by the `Merchant` are settled.- Returns:
- readyToSettleUpon
-
setReadyToSettleUpon
-
feeReadyToSettleUpon
-
getFeeReadyToSettleUpon
Details how the `Merchant` settles fees.- Returns:
- feeReadyToSettleUpon
-
setFeeReadyToSettleUpon
-
levelTwoLevelThreeDataEnabled
-
getLevelTwoLevelThreeDataEnabled
Set to **true** to enable the `Merchant` for Level 2 and Level 3 processing. Default value is **false**.- Returns:
- levelTwoLevelThreeDataEnabled
-
setLevelTwoLevelThreeDataEnabled
-
createdAt
-
getCreatedAt
Timestamp of when the object was created.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Timestamp of when the object was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
onboardingState
-
getOnboardingState
Details the state of the `Merchant's` onboarding.- Returns:
- onboardingState
-
setOnboardingState
-
processorDetails
-
getProcessorDetails
Get processorDetails- Returns:
- processorDetails
-
setProcessorDetails
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates 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
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
Convert an instance of Merchant to an JSON string- Returns:
- JSON string
-