Class Place.Types.PaymentOptions
Payment options the place accepts.
Implements
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class Place.Types.PaymentOptions : IMessage<Place.Types.PaymentOptions>, IEquatable<Place.Types.PaymentOptions>, IDeepCloneable<Place.Types.PaymentOptions>, IBufferMessage, IMessage
Constructors
PaymentOptions()
Declaration
public PaymentOptions()
PaymentOptions(PaymentOptions)
Declaration
public PaymentOptions(Place.Types.PaymentOptions other)
Parameters
Type | Name | Description |
---|---|---|
Place.Types.PaymentOptions | other |
Properties
AcceptsCashOnly
Place accepts cash only as payment. Places with this attribute may still accept other payment methods.
Declaration
public bool AcceptsCashOnly { get; set; }
Property Value
Type | Description |
---|---|
bool |
AcceptsCreditCards
Place accepts credit cards as payment.
Declaration
public bool AcceptsCreditCards { get; set; }
Property Value
Type | Description |
---|---|
bool |
AcceptsDebitCards
Place accepts debit cards as payment.
Declaration
public bool AcceptsDebitCards { get; set; }
Property Value
Type | Description |
---|---|
bool |
AcceptsNfc
Place accepts NFC payments.
Declaration
public bool AcceptsNfc { get; set; }
Property Value
Type | Description |
---|---|
bool |
HasAcceptsCashOnly
Gets whether the "accepts_cash_only" field is set
Declaration
public bool HasAcceptsCashOnly { get; }
Property Value
Type | Description |
---|---|
bool |
HasAcceptsCreditCards
Gets whether the "accepts_credit_cards" field is set
Declaration
public bool HasAcceptsCreditCards { get; }
Property Value
Type | Description |
---|---|
bool |
HasAcceptsDebitCards
Gets whether the "accepts_debit_cards" field is set
Declaration
public bool HasAcceptsDebitCards { get; }
Property Value
Type | Description |
---|---|
bool |
HasAcceptsNfc
Gets whether the "accepts_nfc" field is set
Declaration
public bool HasAcceptsNfc { get; }
Property Value
Type | Description |
---|---|
bool |