public class BrandingAsset extends Object implements ITimeoutRequest, IAbstractAcknowledgement
Constructor and Description |
---|
BrandingAsset() |
Modifier and Type | Method and Description |
---|---|
void |
addDaysOfWeek(Weekday value)
Adds a an array of days of the week during which a branding asset should be enabled.
|
String |
getAssetType()
Gets the type of branding asset.
|
Collection<Weekday> |
getDaysOfWeek()
Gets an array of days of the week during which a branding asset should be enabled.
|
String |
getEndDate()
Gets the end date if this asset should be displayed based on a schedule.
|
String |
getEndTime()
Gets the end date if this asset should be displayed based on a schedule.
|
String |
getError()
Gets the error, if an error occurred.
|
String |
getId()
Gets id used to track a branding asset.
|
String |
getLastModified()
Gets the time and date this asset was last modified.
|
String |
getMediaId()
Gets the media id associated with this branding asset, if any.
|
String |
getMerchantId()
Gets the merchant id associated with this branding asset.
|
String |
getNarrativeDisplayPeriod()
Gets a compact narrative string explaining the display period for a branding
asset.
|
String |
getNarrativeEffectiveDates()
Gets a compact narrative string explaining the effective date and time rules for a
branding asset.
|
String |
getNotes()
Gets a field for notes related to a branding asset.
|
int |
getOrdinal()
Gets the ordinal number marking the position of this asset within the branding
stack.
|
String |
getOrganizationId()
Gets the organization id associated with this branding asset.
|
String |
getOwnerId()
Gets the id owner of the tenant who owns the branding asset.
|
String |
getOwnerName()
Gets the name of the tenant or entity that owns the branding asset.
|
String |
getOwnerType()
Gets the type of user or tenant that owns this asset.
|
String |
getOwnerTypeCaption()
Gets a recommended caption for displaying the owner.
|
String |
getPartnerId()
Gets the partner id associated with this branding asset.
|
String |
getPreviewImage()
Gets the recommended image to be displayed when rendering a preview of this
branding asset.
|
String |
getResponseDescription()
Gets a narrative description of the transaction result.
|
String |
getSlideShowId()
Gets the slide show associated with this branding asset, if any.
|
String |
getStartDate()
Gets the start date if this asset should be displayed based on a schedule.
|
String |
getStartTime()
Gets the start date if this asset should be displayed based on a schedule.
|
String |
getTerminalGroupId()
Gets the terminal group id if this branding asset is specific to a terminal group.
|
String |
getTerminalId()
Gets the terminal id if this branding asset is specific to a single terminal.
|
String |
getThumbnail()
Gets the fully qualified URL of the thumbnail image for this branding asset.
|
int |
getTimeout()
Gets the request timeout in seconds.
|
String |
getUserId()
Gets id of the user who created this branding asset, if applicable.
|
String |
getUserName()
Gets name of the user who created this branding asset, if applicable.
|
boolean |
isEditable()
Gets if true, the API credentials used to retrieve the branding asset record can be
used to update it.
|
boolean |
isEnabled()
Gets enables the asset for display.
|
boolean |
isPadded()
Gets applies standard margins to images displayed on terminals.
|
boolean |
isPreview()
Gets if true, the asset will be displayed in the merchant portal, but not on merchant
terminal hardware.
|
boolean |
isSuccess()
Gets whether or not the request succeeded.
|
boolean |
isTest()
Gets whether or not to route transaction to the test gateway.
|
void |
setAssetType(String value)
Sets the type of branding asset.
|
void |
setDaysOfWeek(Collection<Weekday> value)
Sets an array of days of the week during which a branding asset should be enabled.
|
void |
setEditable(boolean value)
Sets if true, the API credentials used to retrieve the branding asset record can be
used to update it.
|
void |
setEnabled(boolean value)
Sets enables the asset for display.
|
void |
setEndDate(String value)
Sets the end date if this asset should be displayed based on a schedule.
|
void |
setEndTime(String value)
Sets the end date if this asset should be displayed based on a schedule.
|
void |
setError(String value)
Sets the error, if an error occurred.
|
void |
setId(String value)
Sets id used to track a branding asset.
|
void |
setLastModified(String value)
Sets the time and date this asset was last modified.
|
void |
setMediaId(String value)
Sets the media id associated with this branding asset, if any.
|
void |
setMerchantId(String value)
Sets the merchant id associated with this branding asset.
|
void |
setNarrativeDisplayPeriod(String value)
Sets a compact narrative string explaining the display period for a branding
asset.
|
void |
setNarrativeEffectiveDates(String value)
Sets a compact narrative string explaining the effective date and time rules for a
branding asset.
|
void |
setNotes(String value)
Sets a field for notes related to a branding asset.
|
void |
setOrdinal(int value)
Sets the ordinal number marking the position of this asset within the branding
stack.
|
void |
setOrganizationId(String value)
Sets the organization id associated with this branding asset.
|
void |
setOwnerId(String value)
Sets the id owner of the tenant who owns the branding asset.
|
void |
setOwnerName(String value)
Sets the name of the tenant or entity that owns the branding asset.
|
void |
setOwnerType(String value)
Sets the type of user or tenant that owns this asset.
|
void |
setOwnerTypeCaption(String value)
Sets a recommended caption for displaying the owner.
|
void |
setPadded(boolean value)
Sets applies standard margins to images displayed on terminals.
|
void |
setPartnerId(String value)
Sets the partner id associated with this branding asset.
|
void |
setPreview(boolean value)
Sets if true, the asset will be displayed in the merchant portal, but not on merchant
terminal hardware.
|
void |
setPreviewImage(String value)
Sets the recommended image to be displayed when rendering a preview of this
branding asset.
|
void |
setResponseDescription(String value)
Sets a narrative description of the transaction result.
|
void |
setSlideShowId(String value)
Sets the slide show associated with this branding asset, if any.
|
void |
setStartDate(String value)
Sets the start date if this asset should be displayed based on a schedule.
|
void |
setStartTime(String value)
Sets the start date if this asset should be displayed based on a schedule.
|
void |
setSuccess(boolean value)
Sets whether or not the request succeeded.
|
void |
setTerminalGroupId(String value)
Sets the terminal group id if this branding asset is specific to a terminal group.
|
void |
setTerminalId(String value)
Sets the terminal id if this branding asset is specific to a single terminal.
|
void |
setTest(boolean value)
Sets whether or not to route transaction to the test gateway.
|
void |
setThumbnail(String value)
Sets the fully qualified URL of the thumbnail image for this branding asset.
|
void |
setTimeout(int value)
Sets the request timeout in seconds.
|
void |
setUserId(String value)
Sets id of the user who created this branding asset, if applicable.
|
void |
setUserName(String value)
Sets name of the user who created this branding asset, if applicable.
|
public void setTimeout(int value)
value
- the request timeout in seconds.public int getTimeout()
getTimeout
in interface ITimeoutRequest
public void setTest(boolean value)
value
- whether or not to route transaction to the test gateway.public boolean isTest()
isTest
in interface ITimeoutRequest
public void setSuccess(boolean value)
value
- whether or not the request succeeded.public boolean isSuccess()
isSuccess
in interface IAbstractAcknowledgement
public void setError(String value)
value
- the error, if an error occurred.public String getError()
getError
in interface IAbstractAcknowledgement
public void setResponseDescription(String value)
value
- a narrative description of the transaction result.public String getResponseDescription()
getResponseDescription
in interface IAbstractAcknowledgement
public void setId(String value)
value
- id used to track a branding asset.public String getId()
public void setOwnerId(String value)
value
- the id owner of the tenant who owns the branding asset.public String getOwnerId()
public void setTerminalId(String value)
value
- the terminal id if this branding asset is specific to a single
terminal.public String getTerminalId()
public void setTerminalGroupId(String value)
value
- the terminal group id if this branding asset is specific to a terminal
group.public String getTerminalGroupId()
public void setMerchantId(String value)
value
- the merchant id associated with this branding asset.public String getMerchantId()
public void setOrganizationId(String value)
value
- the organization id associated with this branding asset.public String getOrganizationId()
public void setPartnerId(String value)
value
- the partner id associated with this branding asset.public String getPartnerId()
public void setSlideShowId(String value)
value
- the slide show associated with this branding asset, if any. A branding
asset can reference a slide show or media asset, but not both.public String getSlideShowId()
public void setMediaId(String value)
value
- the media id associated with this branding asset, if any. A branding
asset can reference a slide show or media asset, but not both.public String getMediaId()
public void setPadded(boolean value)
value
- applies standard margins to images displayed on terminals. Usually
the best option for logos.public boolean isPadded()
public void setStartDate(String value)
value
- the start date if this asset should be displayed based on a schedule.
Format: MM/DD/YYYY.public String getStartDate()
public void setEndDate(String value)
value
- the end date if this asset should be displayed based on a schedule.
Format: MM/DD/YYYY.public String getEndDate()
public void setDaysOfWeek(Collection<Weekday> value)
value
- an array of days of the week during which a branding asset should be
enabled. Days of the week are coded as integers starting with Sunday (0) and ending
with Saturday (6).public Collection<Weekday> getDaysOfWeek()
public void setStartTime(String value)
value
- the start date if this asset should be displayed based on a schedule.
Format: MM/DD/YYYY.public String getStartTime()
public void setEndTime(String value)
value
- the end date if this asset should be displayed based on a schedule.
Format: MM/DD/YYYY.public String getEndTime()
public void setOrdinal(int value)
value
- the ordinal number marking the position of this asset within the
branding stack.public int getOrdinal()
public void setEnabled(boolean value)
value
- enables the asset for display.public boolean isEnabled()
public void setPreview(boolean value)
value
- if true, the asset will be displayed in the merchant portal, but not on
merchant terminal hardware. Developers will usually want this to always be false.public boolean isPreview()
public void setUserId(String value)
value
- id of the user who created this branding asset, if applicable.public String getUserId()
public void setUserName(String value)
value
- name of the user who created this branding asset, if applicable.public String getUserName()
public void setThumbnail(String value)
value
- the fully qualified URL of the thumbnail image for this branding
asset.public String getThumbnail()
public void setLastModified(String value)
value
- the time and date this asset was last modified.public String getLastModified()
public void setNotes(String value)
value
- a field for notes related to a branding asset.public String getNotes()
public void setEditable(boolean value)
value
- if true, the API credentials used to retrieve the branding asset
record can be used to update it.public boolean isEditable()
public void setAssetType(String value)
value
- the type of branding asset.public String getAssetType()
public void setOwnerType(String value)
value
- the type of user or tenant that owns this asset.public String getOwnerType()
public void setOwnerTypeCaption(String value)
value
- a recommended caption for displaying the owner. Takes into account
multiple organization types.public String getOwnerTypeCaption()
public void setOwnerName(String value)
value
- the name of the tenant or entity that owns the branding asset.public String getOwnerName()
public void setPreviewImage(String value)
value
- the recommended image to be displayed when rendering a preview of this
branding asset.public String getPreviewImage()
public void setNarrativeEffectiveDates(String value)
value
- a compact narrative string explaining the effective date and time
rules for a branding asset.public String getNarrativeEffectiveDates()
public void setNarrativeDisplayPeriod(String value)
value
- a compact narrative string explaining the display period for a
branding asset.public String getNarrativeDisplayPeriod()
public void addDaysOfWeek(Weekday value)
value
- an array of days of the week during which a branding asset should be
enabled. Days of the week are coded as integers starting with Sunday (0) and ending
with Saturday (6).Copyright © 2022 BlockChyp, Inc.. All rights reserved.