GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PlacePaymentOptions (google_api_places v0.11.0)

View Source

Payment options the place accepts.

Attributes

  • acceptsCashOnly (type: boolean(), default: nil) - Place accepts cash only as payment. Places with this attribute may still accept other payment methods.
  • acceptsCreditCards (type: boolean(), default: nil) - Place accepts credit cards as payment.
  • acceptsDebitCards (type: boolean(), default: nil) - Place accepts debit cards as payment.
  • acceptsNfc (type: boolean(), default: nil) - Place accepts NFC payments.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PlacePaymentOptions{
  acceptsCashOnly: boolean() | nil,
  acceptsCreditCards: boolean() | nil,
  acceptsDebitCards: boolean() | nil,
  acceptsNfc: boolean() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.