ValidFormsOfPayment

public final class ValidFormsOfPayment

Container for hotel supported payment information.

Parameters

paymentMethod

The payment method.

name

The brand name of the payment sub-method to be displayed to the customer.

paymentSubMethod

The payment sub-method.

brandName

The brand name of the payment sub-method to be displayed to the customer. In many cases it will be the same as the payment sub-method, but \"Visa/Carte Blanche\" and \"Visa/Delta\" are some of the exceptions.

Constructors

Link copied to clipboard
public ValidFormsOfPayment ValidFormsOfPayment(String paymentMethod, String name, String paymentSubMethod, String brandName)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Deprecated(message = "This property is deprecated.")
@Valid()
private final String brandName
Link copied to clipboard
@Valid()
private final String name
Link copied to clipboard
@Valid()
private final String paymentMethod
Link copied to clipboard
@Deprecated(message = "This property is deprecated.")
@Valid()
private final String paymentSubMethod

Functions

Link copied to clipboard
public final static ValidFormsOfPayment.Builder builder()
Link copied to clipboard
public final String getBrandName()
Link copied to clipboard
public final String getName()
Link copied to clipboard
public final String getPaymentMethod()
Link copied to clipboard
public final String getPaymentSubMethod()
Link copied to clipboard