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



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

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("f31383f4-77d8-41a3-bd2a-a1dd2c5ab102",Airport.new(criteria))
end

.getLoungeDetail(criteria) ⇒ Object



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

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("61e3633c-115e-42c5-98af-4237141019f4",Airport.new(criteria))
end

.getLoungeHistory(criteria) ⇒ Object



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

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("52c307f7-adbe-4772-96a7-d606bc0704ff",Airport.new(criteria))
end

.getLounges(criteria) ⇒ Object



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

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("c96fa1fc-ca66-4639-a08d-6235394a919d",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("d256fb8d-b654-43b4-a97e-2d1f185bd0da",Airport.new(criteria))
end