class EbayTrading::Types::ApplicationDeliveryPreferences

Attributes

text_node :application_url, 'ApplicationURL', :optional => true
text_node :application_enable, 'ApplicationEnable', :optional => true
text_node :alert_email, 'AlertEmail', :optional => true
text_node :alert_enable, 'AlertEnable', :optional => true
text_node :notification_payload_type, 'NotificationPayloadType', :optional => true
text_node :device_type, 'DeviceType', :optional => true
text_node :payload_version, 'PayloadVersion', :optional => true
array_node :delivery_url_details, 'DeliveryURLDetails', :class => DeliveryURLDetail, :default_value => []

Public Instance Methods

alerts_enabled?() click to toggle source

Are alerts enabled?

# File lib/ebay_trading/types/application_delivery_preferences.rb, line 32
def alerts_enabled?
  @alert_enable == 'Enable'
end
application_enabled?() click to toggle source

Is the application enabled to received Platform Notifications?

# File lib/ebay_trading/types/application_delivery_preferences.rb, line 27
def application_enabled?
  @application_enable == 'Enable'
end