Class: MasterCard::API::McOn::Airport

Inherits:
Core::Model::BaseObject
  • Object
show all
Includes:
Core::Model
Defined in:
lib/mastercard/api/mcon/airport.rb

Class Method Summary collapse

Class Method Details

.getDMC(criteria) ⇒ Object



120
121
122
123
124
125
126
127
128
129
# File 'lib/mastercard/api/mcon/airport.rb', line 120

def self.getDMC(criteria)
    #
    #Query objects of type Airport by id and optional criteria
    #@param [Dict] criteria
    #@return [Airport] object representing the response.
    #@raise [APIException] an exception from the response status
    #

    return self.execute("ee6d9c7e-5c10-4940-bbc7-d38113c51dc9",Airport.new(criteria))
end

.getLoungeDetail(criteria) ⇒ Object



86
87
88
89
90
91
92
93
94
95
# File 'lib/mastercard/api/mcon/airport.rb', line 86

def self.getLoungeDetail(criteria)
    #
    #Query objects of type Airport by id and optional criteria
    #@param [Dict] criteria
    #@return [Airport] object representing the response.
    #@raise [APIException] an exception from the response status
    #

    return self.execute("f215edb0-43fd-4886-b460-9ee3f367173e",Airport.new(criteria))
end

.getLoungeHistory(criteria) ⇒ Object



103
104
105
106
107
108
109
110
111
112
# File 'lib/mastercard/api/mcon/airport.rb', line 103

def self.getLoungeHistory(criteria)
    #
    #Query objects of type Airport by id and optional criteria
    #@param [Dict] criteria
    #@return [Airport] object representing the response.
    #@raise [APIException] an exception from the response status
    #

    return self.execute("3c9af6a6-de75-4af6-9651-2c011474c1be",Airport.new(criteria))
end

.getLounges(criteria) ⇒ Object



69
70
71
72
73
74
75
76
77
78
# File 'lib/mastercard/api/mcon/airport.rb', line 69

def self.getLounges(criteria)
    #
    #Query objects of type Airport by id and optional criteria
    #@param [Dict] criteria
    #@return [Airport] object representing the response.
    #@raise [APIException] an exception from the response status
    #

    return self.execute("9214fbd4-c1f9-4138-9efa-d75f6f9cef2f",Airport.new(criteria))
end

.userAirportRegistrationStatus(criteria) ⇒ Object



137
138
139
140
141
142
143
144
145
146
# File 'lib/mastercard/api/mcon/airport.rb', line 137

def self.userAirportRegistrationStatus(criteria)
    #
    #Query objects of type Airport by id and optional criteria
    #@param [Dict] criteria
    #@return [Airport] object representing the response.
    #@raise [APIException] an exception from the response status
    #

    return self.execute("d1a897f7-f833-4649-9313-c0239236c171",Airport.new(criteria))
end