Class Destination
java.lang.Object
dev.vality.swag.wallets.webhook.events.model.Destination
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2023-12-24T09:03:16.651030963Z[Etc/UTC]")
public class Destination
extends Object
Destination data
-
Constructor Summary
Constructors Constructor Description Destination() -
Method Summary
Modifier and Type Method Description Destinationcurrency(String currency)booleanequals(Object o)DestinationexternalID(String externalID)@NotNull @Pattern(regexp="^[A-Z]{3}$") StringgetCurrency()Currency, character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).StringgetExternalID()The unique identifier of the content on your side.StringgetId()Destination identifier@NotNull StringgetIdentity()Identifier of wallet ownerObjectgetMetadata()An arbitrary, client-specific API and non-transparent set of data associated with given receiver@NotNull StringgetName()A human-readable name for the receiver by which it is easily recognizable@NotNull @Valid DestinationResourcegetResource()Get resourceinthashCode()Destinationid(String id)Destinationidentity(String identity)Destinationmetadata(Object metadata)Destinationname(String name)Destinationresource(DestinationResource resource)voidsetCurrency(String currency)voidsetExternalID(String externalID)voidsetId(String id)voidsetIdentity(String identity)voidsetMetadata(Object metadata)voidsetName(String name)voidsetResource(DestinationResource resource)StringtoString()
-
Constructor Details
-
Destination
public Destination()
-
-
Method Details
-
id
-
getId
Destination identifier- Returns:
- id
-
setId
-
name
-
getName
A human-readable name for the receiver by which it is easily recognizable- Returns:
- name
-
setName
-
identity
-
getIdentity
Identifier of wallet owner- Returns:
- identity
-
setIdentity
-
currency
-
getCurrency
@NotNull @Pattern(regexp="^[A-Z]{3}$") public @NotNull @Pattern(regexp="^[A-Z]{3}$") String getCurrency()Currency, character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).- Returns:
- currency
-
setCurrency
-
resource
-
getResource
Get resource- Returns:
- resource
-
setResource
-
metadata
-
getMetadata
An arbitrary, client-specific API and non-transparent set of data associated with given receiver- Returns:
- metadata
-
setMetadata
-
externalID
-
getExternalID
The unique identifier of the content on your side. When specified, will be used to ensure idempotent processing of the operation.- Returns:
- externalID
-
setExternalID
-
equals
-
hashCode
public int hashCode() -
toString
-