PaymentMethodLinkInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. billing. models. ProxyResourceWithTags - com.
azure. resourcemanager. billing. fluent. models. PaymentMethodLinkInner
- com.
- com.
- com.
public final class PaymentMethodLinkInner
extends ProxyResourceWithTags
A payment method link.
Constructor Summary
| Constructor | Description |
|---|---|
| PaymentMethodLinkInner() |
Creates an instance of Payment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountHolderName()
Get the account |
| String |
displayName()
Get the display |
| String |
expiration()
Get the expiration property: The expiration month and year of the payment method. |
|
Payment |
family()
Get the family property: The family of payment method. |
|
static
Payment |
fromJson(JsonReader jsonReader)
Reads an instance of Payment |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
lastFourDigits()
Get the last |
|
List<Payment |
logos()
Get the logos property: The list of logos for the payment method. |
| String |
name()
Get the name property: The name of the resource. |
|
Payment |
paymentMethod()
Get the payment |
| String |
paymentMethodId()
Get the payment |
| String |
paymentMethodType()
Get the payment |
|
Payment |
status()
Get the status property: Status of the payment method. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Payment |
withPaymentMethod(PaymentMethodProperties paymentMethod)
Set the payment |
|
Payment |
withPaymentMethodId(String paymentMethodId)
Set the payment |
|
Payment |
withTags(Map<String,String> tags)
Set the tags property: Dictionary of metadata associated with the resource. |
Methods inherited from ProxyResourceWithTags
Methods inherited from java.lang.Object
Constructor Details
PaymentMethodLinkInner
public PaymentMethodLinkInner()
Creates an instance of PaymentMethodLinkInner class.
Method Details
accountHolderName
public String accountHolderName()
Get the accountHolderName property: The account holder name for the payment method. This is only supported for payment methods with family CreditCard.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of the payment method.
Returns:
expiration
public String expiration()
Get the expiration property: The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard.
Returns:
family
public PaymentMethodFamily family()
Get the family property: The family of payment method.
Returns:
fromJson
public static PaymentMethodLinkInner fromJson(JsonReader jsonReader)
Reads an instance of PaymentMethodLinkInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PaymentMethodLinkInner.id()Returns:
lastFourDigits
public String lastFourDigits()
Get the lastFourDigits property: Last four digits of payment method.
Returns:
logos
public List<PaymentMethodLogo> logos()
Get the logos property: The list of logos for the payment method.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PaymentMethodLinkInner.name()Returns:
paymentMethod
public PaymentMethodProperties paymentMethod()
Get the paymentMethod property: Projection of a payment method. Will not be returned in this or future versions.
Returns:
paymentMethodId
public String paymentMethodId()
Get the paymentMethodId property: Id of payment method. Example: /providers/Microsoft.Billing/paymentMethods/ABCDABCDABC0.
Returns:
paymentMethodType
public String paymentMethodType()
Get the paymentMethodType property: The type of payment method.
Returns:
status
public PaymentMethodStatus status()
Get the status property: Status of the payment method.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Overrides:
PaymentMethodLinkInner.systemData()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PaymentMethodLinkInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PaymentMethodLinkInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
PaymentMethodLinkInner.validate()withPaymentMethod
public PaymentMethodLinkInner withPaymentMethod(PaymentMethodProperties paymentMethod)
Set the paymentMethod property: Projection of a payment method. Will not be returned in this or future versions.
Parameters:
Returns:
withPaymentMethodId
public PaymentMethodLinkInner withPaymentMethodId(String paymentMethodId)
Set the paymentMethodId property: Id of payment method. Example: /providers/Microsoft.Billing/paymentMethods/ABCDABCDABC0.
Parameters:
Returns:
withTags
public PaymentMethodLinkInner withTags(Map<String,String> tags)
Set 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 < > % & \ ? /.
Overrides:
PaymentMethodLinkInner.withTags(Map<String,String> tags)Parameters: