PaymentMethodLogo Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.models.PaymentMethodLogo

Implements

public final class PaymentMethodLogo
implements JsonSerializable<PaymentMethodLogo>

Logo of payment method.

Constructor Summary

Constructor Description
PaymentMethodLogo()

Creates an instance of PaymentMethodLogo class.

Method Summary

Modifier and Type Method and Description
static PaymentMethodLogo fromJson(JsonReader jsonReader)

Reads an instance of PaymentMethodLogo from the JsonReader.

String mimeType()

Get the mimeType property: MIME type of the logo.

JsonWriter toJson(JsonWriter jsonWriter)
String url()

Get the url property: Public URL of image of the logo.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

PaymentMethodLogo

public PaymentMethodLogo()

Creates an instance of PaymentMethodLogo class.

Method Details

fromJson

public static PaymentMethodLogo fromJson(JsonReader jsonReader)

Reads an instance of PaymentMethodLogo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PaymentMethodLogo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PaymentMethodLogo.

mimeType

public String mimeType()

Get the mimeType property: MIME type of the logo.

Returns:

the mimeType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

url

public String url()

Get the url property: Public URL of image of the logo.

Returns:

the url value.

validate

public void validate()

Validates the instance.

Applies to