PaymentMethod Interface

public interface PaymentMethod

An immutable client-side representation of PaymentMethod.

Method Summary

Modifier and Type Method and Description
abstract String accountHolderName()

Gets the accountHolderName property: The account holder name for the payment method.

abstract String displayName()

Gets the displayName property: The display name of the payment method.

abstract String expiration()

Gets the expiration property: The expiration month and year of the payment method.

abstract PaymentMethodFamily family()

Gets the family property: The family of payment method.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract String idPropertiesId()

Gets the idPropertiesId property: Id of payment method.

abstract PaymentMethodInner innerModel()

Gets the inner com.azure.resourcemanager.billing.fluent.models.PaymentMethodInner object.

abstract String lastFourDigits()

Gets the lastFourDigits property: Last four digits of payment method.

abstract List<PaymentMethodLogo> logos()

Gets the logos property: The list of logos for the payment method.

abstract String name()

Gets the name property: The name of the resource.

abstract String paymentMethodType()

Gets the paymentMethodType property: The type of payment method.

abstract PaymentMethodStatus status()

Gets the status property: Status of the payment method.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Dictionary of metadata associated with the resource.

abstract String type()

Gets the type property: The type of the resource.

Method Details

accountHolderName

public abstract String accountHolderName()

Gets the accountHolderName property: The account holder name for the payment method. This is only supported for payment methods with family CreditCard.

Returns:

the accountHolderName value.

displayName

public abstract String displayName()

Gets the displayName property: The display name of the payment method.

Returns:

the displayName value.

expiration

public abstract String expiration()

Gets the expiration property: The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard.

Returns:

the expiration value.

family

public abstract PaymentMethodFamily family()

Gets the family property: The family of payment method.

Returns:

the family value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

idPropertiesId

public abstract String idPropertiesId()

Gets the idPropertiesId property: Id of payment method.

Returns:

the idPropertiesId value.

innerModel

public abstract PaymentMethodInner innerModel()

Gets the inner com.azure.resourcemanager.billing.fluent.models.PaymentMethodInner object.

Returns:

the inner object.

lastFourDigits

public abstract String lastFourDigits()

Gets the lastFourDigits property: Last four digits of payment method.

Returns:

the lastFourDigits value.

logos

public abstract List<PaymentMethodLogo> logos()

Gets the logos property: The list of logos for the payment method.

Returns:

the logos value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

paymentMethodType

public abstract String paymentMethodType()

Gets the paymentMethodType property: The type of payment method.

Returns:

the paymentMethodType value.

status

public abstract PaymentMethodStatus status()

Gets the status property: Status of the payment method.

Returns:

the status value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

Applies to