AirValidFormsOfPayment

public final class AirValidFormsOfPayment

Container for fees that are charged for using certain payment methods. Since the method of payment is not known until time of booking, these fees are returned separately and not included in the total price

Parameters

paymentMethod

Method of payment

name

Name of Payment Method.

fee

The amount of the payment fee.

currency

Currency of the fee in ISO 4217 format

Constructors

Link copied to clipboard
public AirValidFormsOfPayment AirValidFormsOfPayment(String paymentMethod, String name, String fee, String currency)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@NotNull()
@Valid()
private final String currency
Link copied to clipboard
@NotNull()
@Valid()
private final String fee
Link copied to clipboard
@NotNull()
@Valid()
private final String name
Link copied to clipboard
@NotNull()
@Valid()
private final String paymentMethod

Functions

Link copied to clipboard
Link copied to clipboard
public final String getCurrency()
Link copied to clipboard
public final String getFee()
Link copied to clipboard
public final String getName()
Link copied to clipboard
public final String getPaymentMethod()
Link copied to clipboard