Package com.adyen.model.management
Class CardholderReceipt
- java.lang.Object
-
- com.adyen.model.management.CardholderReceipt
-
public class CardholderReceipt extends Object
CardholderReceipt
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HEADER_FOR_AUTHORIZED_RECEIPT
-
Constructor Summary
Constructors Constructor Description CardholderReceipt()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this CardholderReceipt object is equal to o.static CardholderReceiptfromJson(String jsonString)Create an instance of CardholderReceipt given an JSON stringStringgetHeaderForAuthorizedReceipt()A custom header to show on the shopper receipt for an authorised transaction.inthashCode()CardholderReceiptheaderForAuthorizedReceipt(String headerForAuthorizedReceipt)voidsetHeaderForAuthorizedReceipt(String headerForAuthorizedReceipt)A custom header to show on the shopper receipt for an authorised transaction.StringtoJson()Convert an instance of CardholderReceipt to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_HEADER_FOR_AUTHORIZED_RECEIPT
public static final String JSON_PROPERTY_HEADER_FOR_AUTHORIZED_RECEIPT
- See Also:
- Constant Field Values
-
-
Method Detail
-
headerForAuthorizedReceipt
public CardholderReceipt headerForAuthorizedReceipt(String headerForAuthorizedReceipt)
-
getHeaderForAuthorizedReceipt
public String getHeaderForAuthorizedReceipt()
A custom header to show on the shopper receipt for an authorised transaction. Allows one or two comma-separated header lines, and blank lines. For example, `header,header,filler`- Returns:
- headerForAuthorizedReceipt
-
setHeaderForAuthorizedReceipt
public void setHeaderForAuthorizedReceipt(String headerForAuthorizedReceipt)
A custom header to show on the shopper receipt for an authorised transaction. Allows one or two comma-separated header lines, and blank lines. For example, `header,header,filler`- Parameters:
headerForAuthorizedReceipt-
-
equals
public boolean equals(Object o)
Return true if this CardholderReceipt object is equal to o.
-
fromJson
public static CardholderReceipt fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CardholderReceipt given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CardholderReceipt
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CardholderReceipt
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CardholderReceipt to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-