API documentation  2.0rc1
Public Member Functions | List of all members
client::PaymentRequest Class Reference

#include <clientlib.h>

Inherits client::EventTarget.

Public Member Functions

Stringget_id ()
 
EventListenerget_onshippingaddresschange ()
 
void set_onshippingaddresschange (EventListener *)
 
EventListenerget_onshippingoptionchange ()
 
void set_onshippingoptionchange (EventListener *)
 
PaymentAddressget_shippingAddress ()
 
Stringget_shippingOption ()
 
Stringget_shippingType ()
 
Promiseabort ()
 
PromisecanMakePayment ()
 
Promiseshow ()
 
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, EventListenerOptions *options)
 
PaymentRequestget_prototype ()
 
void set_prototype (PaymentRequest *)
 
 PaymentRequest (Array *methodData, PaymentDetailsInit *details)
 
 PaymentRequest (Array *methodData, PaymentDetailsInit *details, PaymentOptions *options)
 
- Public Member Functions inherited from client::EventTarget
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
bool dispatchEvent (Event *evt)
 
void removeEventListener (const String &type)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, bool options)
 
EventTargetget_prototype ()
 
void set_prototype (EventTarget *)
 
 EventTarget ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ PaymentRequest() [1/2]

client::PaymentRequest::PaymentRequest ( Array methodData,
PaymentDetailsInit details 
)

◆ PaymentRequest() [2/2]

client::PaymentRequest::PaymentRequest ( Array methodData,
PaymentDetailsInit details,
PaymentOptions options 
)

Member Function Documentation

◆ abort()

Promise* client::PaymentRequest::abort ( )

◆ addEventListener() [1/5]

void client::PaymentRequest::addEventListener ( const String type,
EventListener listener 
)

◆ addEventListener() [2/5]

void client::PaymentRequest::addEventListener ( const String type,
EventListener listener,
bool  options 
)

◆ addEventListener() [3/5]

void client::PaymentRequest::addEventListener ( const String type,
EventListener listener,
AddEventListenerOptions options 
)

◆ addEventListener() [4/5]

void client::PaymentRequest::addEventListener ( const String type,
EventListenerObject listener 
)

◆ addEventListener() [5/5]

void client::PaymentRequest::addEventListener ( const String type,
EventListenerObject listener,
AddEventListenerOptions options 
)

◆ canMakePayment()

Promise* client::PaymentRequest::canMakePayment ( )

◆ get_id()

String* client::PaymentRequest::get_id ( )

◆ get_onshippingaddresschange()

EventListener* client::PaymentRequest::get_onshippingaddresschange ( )

◆ get_onshippingoptionchange()

EventListener* client::PaymentRequest::get_onshippingoptionchange ( )

◆ get_prototype()

PaymentRequest* client::PaymentRequest::get_prototype ( )

◆ get_shippingAddress()

PaymentAddress* client::PaymentRequest::get_shippingAddress ( )

◆ get_shippingOption()

String* client::PaymentRequest::get_shippingOption ( )

◆ get_shippingType()

String* client::PaymentRequest::get_shippingType ( )

◆ removeEventListener() [1/5]

void client::PaymentRequest::removeEventListener ( const String type,
EventListener listener 
)

◆ removeEventListener() [2/5]

void client::PaymentRequest::removeEventListener ( const String type,
EventListener listener,
bool  options 
)

◆ removeEventListener() [3/5]

void client::PaymentRequest::removeEventListener ( const String type,
EventListener listener,
EventListenerOptions options 
)

◆ removeEventListener() [4/5]

void client::PaymentRequest::removeEventListener ( const String type,
EventListenerObject listener 
)

◆ removeEventListener() [5/5]

void client::PaymentRequest::removeEventListener ( const String type,
EventListenerObject listener,
EventListenerOptions options 
)

◆ set_onshippingaddresschange()

void client::PaymentRequest::set_onshippingaddresschange ( EventListener )

◆ set_onshippingoptionchange()

void client::PaymentRequest::set_onshippingoptionchange ( EventListener )

◆ set_prototype()

void client::PaymentRequest::set_prototype ( PaymentRequest )

◆ show()

Promise* client::PaymentRequest::show ( )