Class: FdxV660Api::FdxResourceOperationId1

Inherits:
Object
  • Object
show all
Defined in:
lib/fdx_v660_api/models/fdx_resource_operation_id1.rb

Overview

Operation ID (e.g. name) of this API

Constant Summary collapse

FDX_RESOURCE_OPERATION_ID1 =
[
  # TODO: Write general description for CREATECONSENTGRANT
  CREATECONSENTGRANT = 'createConsentGrant'.freeze,

  # TODO: Write general description for GETCONSENTGRANT
  GETCONSENTGRANT = 'getConsentGrant'.freeze,

  # TODO: Write general description for GETCONSENTREVOCATION
  GETCONSENTREVOCATION = 'getConsentRevocation'.freeze,

  # TODO: Write general description for REVOKECONSENTGRANT
  REVOKECONSENTGRANT = 'revokeConsentGrant'.freeze,

  # TODO: Write general description for SEARCHFORCONSENTGRANTS
  SEARCHFORCONSENTGRANTS = 'searchForConsentGrants'.freeze,

  # TODO: Write general description for GETACCOUNT
  GETACCOUNT = 'getAccount'.freeze,

  # TODO: Write general description for GETACCOUNTASSETTRANSFERNETWORKS
  GETACCOUNTASSETTRANSFERNETWORKS = 'getAccountAssetTransferNetworks'.freeze,

  # TODO: Write general description for GETACCOUNTCONTACT
  GETACCOUNTCONTACT = 'getAccountContact'.freeze,

  # TODO: Write general description for GETACCOUNTPAYMENTNETWORK
  GETACCOUNTPAYMENTNETWORK = 'getAccountPaymentNetwork'.freeze,

  # TODO: Write general description for GETACCOUNTPAYMENTNETWORKS
  GETACCOUNTPAYMENTNETWORKS = 'getAccountPaymentNetworks'.freeze,

  # TODO: Write general description for GETACCOUNTSTATEMENT
  GETACCOUNTSTATEMENT = 'getAccountStatement'.freeze,

  # TODO: Write general description for GETACCOUNTTRANSACTIONIMAGES
  GETACCOUNTTRANSACTIONIMAGES = 'getAccountTransactionImages'.freeze,

  # TODO: Write general description for GETREWARDPROGRAM
  GETREWARDPROGRAM = 'getRewardProgram'.freeze,

  # TODO: Write general description for GETREWARDPROGRAMCATEGORIES
  GETREWARDPROGRAMCATEGORIES = 'getRewardProgramCategories'.freeze,

  # TODO: Write general description for GETTERMSANDCONDITIONS
  GETTERMSANDCONDITIONS = 'getTermsAndConditions'.freeze,

  # TODO: Write general description for GETPAYMENTNETWORKLIFECYCLEEVENTS
  GETPAYMENTNETWORKLIFECYCLEEVENTS = 'getPaymentNetworkLifecycleEvents'.freeze,

  # TODO: Write general description for SEARCHFORACCOUNTREWARDTRANSACTIONS
  SEARCHFORACCOUNTREWARDTRANSACTIONS = 'searchForAccountRewardTransactions'.freeze,

  # TODO: Write general description for SEARCHFORACCOUNTS
  SEARCHFORACCOUNTS = 'searchForAccounts'.freeze,

  # TODO: Write general description for SEARCHFORACCOUNTSTATEMENTS
  SEARCHFORACCOUNTSTATEMENTS = 'searchForAccountStatements'.freeze,

  # TODO: Write general description for SEARCHFORACCOUNTTRANSACTIONS
  SEARCHFORACCOUNTTRANSACTIONS = 'searchForAccountTransactions'.freeze,

  # TODO: Write general description for SEARCHREWARDPROGRAMS
  SEARCHREWARDPROGRAMS = 'searchRewardPrograms'.freeze,

  # TODO: Write general description for REVOKEPAYMENTNETWORKID
  REVOKEPAYMENTNETWORKID = 'revokePaymentNetworkId'.freeze,

  # TODO: Write general description for GETCUSTOMER
  GETCUSTOMER = 'getCustomer'.freeze,

  # TODO: Write general description for GETCUSTOMERINFO
  GETCUSTOMERINFO = 'getCustomerInfo'.freeze,

  # TODO: Write general description for GETCUSTOMERS
  GETCUSTOMERS = 'getCustomers'.freeze,

  # TODO: Write general description for CREATENOTIFICATIONSUBSCRIPTION
  CREATENOTIFICATIONSUBSCRIPTION = 'createNotificationSubscription'.freeze,

  # TODO: Write general description for DELETENOTIFICATIONSUBSCRIPTION
  DELETENOTIFICATIONSUBSCRIPTION = 'deleteNotificationSubscription'.freeze,

  # TODO: Write general description for GETNOTIFICATIONS
  GETNOTIFICATIONS = 'getNotifications'.freeze,

  # TODO: Write general description for GETNOTIFICATIONSUBSCRIPTION
  GETNOTIFICATIONSUBSCRIPTION = 'getNotificationSubscription'.freeze,

  # TODO: Write general description for PUBLISHNOTIFICATION
  PUBLISHNOTIFICATION = 'publishNotification'.freeze,

  # TODO: Write general description for REPORTSUSPECTEDFRAUDINCIDENT
  REPORTSUSPECTEDFRAUDINCIDENT = 'reportSuspectedFraudIncident'.freeze,

  # TODO: Write general description for GETAVAILABILITY
  GETAVAILABILITY = 'getAvailability'.freeze,

  # TODO: Write general description for GETCAPABILITY
  GETCAPABILITY = 'getCapability'.freeze,

  # TODO: Write general description for GETCERTIFICATIONMETRICS
  GETCERTIFICATIONMETRICS = 'getCertificationMetrics'.freeze,

  # TODO: Write general description for CANCELPAYMENT
  CANCELPAYMENT = 'cancelPayment'.freeze,

  # TODO: Write general description for CANCELRECURRINGPAYMENT
  CANCELRECURRINGPAYMENT = 'cancelRecurringPayment'.freeze,

  # TODO: Write general description for CANCELTRANSFER
  CANCELTRANSFER = 'cancelTransfer'.freeze,

  # TODO: Write general description for CREATEPAYEE
  CREATEPAYEE = 'createPayee'.freeze,

  # TODO: Write general description for CREATEPAYMENTINITIATIONPARTY
  CREATEPAYMENTINITIATIONPARTY = 'createPaymentInitiationParty'.freeze,

  # TODO: Write general description for CREATEPAYMENTMETHOD
  CREATEPAYMENTMETHOD = 'createPaymentMethod'.freeze,

  # TODO: Write general description for DELETEPAYEE
  DELETEPAYEE = 'deletePayee'.freeze,

  # TODO: Write general description for DELETEPAYMENTINITIATIONPARTY
  DELETEPAYMENTINITIATIONPARTY = 'deletePaymentInitiationParty'.freeze,

  # TODO: Write general description for DELETEPAYMENTMETHODREGISTRATION
  DELETEPAYMENTMETHODREGISTRATION = 'deletePaymentMethodRegistration'.freeze,

  # TODO: Write general description for GETPAYEE
  GETPAYEE = 'getPayee'.freeze,

  # TODO: Write general description for GETPAYMENT
  GETPAYMENT = 'getPayment'.freeze,

  # TODO: Write general description for GETPAYMENTINITIATIONPARTY
  GETPAYMENTINITIATIONPARTY = 'getPaymentInitiationParty'.freeze,

  # TODO: Write general description for GETPAYMENTMETHODREGISTRATION
  GETPAYMENTMETHODREGISTRATION = 'getPaymentMethodRegistration'.freeze,

  # TODO: Write general description for GETPAYMENTSFORRECURRINGPAYMENT
  GETPAYMENTSFORRECURRINGPAYMENT = 'getPaymentsForRecurringPayment'.freeze,

  # TODO: Write general description for GETRECURRINGPAYMENT
  GETRECURRINGPAYMENT = 'getRecurringPayment'.freeze,

  # TODO: Write general description for GETREQUESTFORPAYMENT
  GETREQUESTFORPAYMENT = 'getRequestForPayment'.freeze,

  # TODO: Write general description for GETTRANSFER
  GETTRANSFER = 'getTransfer'.freeze,

  # TODO: Write general description for LISTPAYMENTINITIATIONPARTIES
  LISTPAYMENTINITIATIONPARTIES = 'listPaymentInitiationParties'.freeze,

  # TODO: Write general description for REQUESTACCOUNTTRANSFER
  REQUESTACCOUNTTRANSFER = 'requestAccountTransfer'.freeze,

  # TODO: Write general description for SCHEDULEPAYMENT
  SCHEDULEPAYMENT = 'schedulePayment'.freeze,

  # TODO: Write general description for SCHEDULERECURRINGPAYMENT
  SCHEDULERECURRINGPAYMENT = 'scheduleRecurringPayment'.freeze,

  # TODO: Write general description for SEARCHFORPAYEES
  SEARCHFORPAYEES = 'searchForPayees'.freeze,

  # TODO: Write general description for SEARCHFORPAYMENTS
  SEARCHFORPAYMENTS = 'searchForPayments'.freeze,

  # TODO: Write general description for SEARCHFORRECURRINGPAYMENTS
  SEARCHFORRECURRINGPAYMENTS = 'searchForRecurringPayments'.freeze,

  # TODO: Write general description for SEARCHFORREQUESTFORPAYMENTS
  SEARCHFORREQUESTFORPAYMENTS = 'searchForRequestForPayments'.freeze,

  # TODO: Write general description for SEARCHFORTRANSFERS
  SEARCHFORTRANSFERS = 'searchForTransfers'.freeze,

  # TODO: Write general description for UPDATEACCOUNTTRANSFER
  UPDATEACCOUNTTRANSFER = 'updateAccountTransfer'.freeze,

  # TODO: Write general description for UPDATEPAYEE
  UPDATEPAYEE = 'updatePayee'.freeze,

  # TODO: Write general description for UPDATEPAYMENT
  UPDATEPAYMENT = 'updatePayment'.freeze,

  # TODO: Write general description for UPDATEPAYMENTINITIATIONPARTY
  UPDATEPAYMENTINITIATIONPARTY = 'updatePaymentInitiationParty'.freeze,

  # TODO: Write general description for UPDATEPAYMENTMETHODREGISTRATION
  UPDATEPAYMENTMETHODREGISTRATION = 'updatePaymentMethodRegistration'.freeze,

  # TODO: Write general description for UPDATERECURRINGPAYMENT
  UPDATERECURRINGPAYMENT = 'updateRecurringPayment'.freeze,

  # TODO: Write general description for GETPAYROLLREPORT
  GETPAYROLLREPORT = 'getPayrollReport'.freeze,

  # TODO: Write general description for GETPAYROLLREPORTS
  GETPAYROLLREPORTS = 'getPayrollReports'.freeze,

  # TODO: Write general description for GETPAYSTUB
  GETPAYSTUB = 'getPaystub'.freeze,

  # TODO: Write general description for GETPAYSTUBS
  GETPAYSTUBS = 'getPaystubs'.freeze,

  # TODO: Write general description for CREATERECIPIENT
  CREATERECIPIENT = 'createRecipient'.freeze,

  # TODO: Write general description for DELETERECIPIENT
  DELETERECIPIENT = 'deleteRecipient'.freeze,

  # TODO: Write general description for GETRECIPIENT
  GETRECIPIENT = 'getRecipient'.freeze,

  # TODO: Write general description for UPDATERECIPIENT
  UPDATERECIPIENT = 'updateRecipient'.freeze,

  # TODO: Write general description for GETDATAPROVIDER
  GETDATAPROVIDER = 'getDataProvider'.freeze,

  # TODO: Write general description for GETREGISTRYRECIPIENT
  GETREGISTRYRECIPIENT = 'getRegistryRecipient'.freeze,

  # TODO: Write general description for GETREGISTRYRECIPIENTS
  GETREGISTRYRECIPIENTS = 'getRegistryRecipients'.freeze,

  # TODO: Write general description for SEARCHFORDATAPROVIDERS
  SEARCHFORDATAPROVIDERS = 'searchForDataProviders'.freeze,

  # TODO: Write general description for CREATETAXFORM
  CREATETAXFORM = 'createTaxForm'.freeze,

  # TODO: Write general description for GETTAXFORM
  GETTAXFORM = 'getTaxForm'.freeze,

  # TODO: Write general description for SEARCHFORTAXFORMS
  SEARCHFORTAXFORMS = 'searchForTaxForms'.freeze,

  # TODO: Write general description for UPDATETAXFORM
  UPDATETAXFORM = 'updateTaxForm'.freeze,

  # TODO: Write general description for GETRESOURCE
  GETRESOURCE = 'getResource'.freeze,

  # TODO: Write general description for GETRESOURCES
  GETRESOURCES = 'getResources'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.from_value(value, default_value = CREATECONSENTGRANT) ⇒ Object



269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
# File 'lib/fdx_v660_api/models/fdx_resource_operation_id1.rb', line 269

def self.from_value(value, default_value = CREATECONSENTGRANT)
  return default_value if value.nil?

  str = value.to_s.strip

  case str.downcase
  when 'createconsentgrant' then CREATECONSENTGRANT
  when 'getconsentgrant' then GETCONSENTGRANT
  when 'getconsentrevocation' then GETCONSENTREVOCATION
  when 'revokeconsentgrant' then REVOKECONSENTGRANT
  when 'searchforconsentgrants' then SEARCHFORCONSENTGRANTS
  when 'getaccount' then GETACCOUNT
  when 'getaccountassettransfernetworks' then GETACCOUNTASSETTRANSFERNETWORKS
  when 'getaccountcontact' then GETACCOUNTCONTACT
  when 'getaccountpaymentnetwork' then GETACCOUNTPAYMENTNETWORK
  when 'getaccountpaymentnetworks' then GETACCOUNTPAYMENTNETWORKS
  when 'getaccountstatement' then GETACCOUNTSTATEMENT
  when 'getaccounttransactionimages' then GETACCOUNTTRANSACTIONIMAGES
  when 'getrewardprogram' then GETREWARDPROGRAM
  when 'getrewardprogramcategories' then GETREWARDPROGRAMCATEGORIES
  when 'gettermsandconditions' then GETTERMSANDCONDITIONS
  when 'getpaymentnetworklifecycleevents' then GETPAYMENTNETWORKLIFECYCLEEVENTS
  when 'searchforaccountrewardtransactions' then SEARCHFORACCOUNTREWARDTRANSACTIONS
  when 'searchforaccounts' then SEARCHFORACCOUNTS
  when 'searchforaccountstatements' then SEARCHFORACCOUNTSTATEMENTS
  when 'searchforaccounttransactions' then SEARCHFORACCOUNTTRANSACTIONS
  when 'searchrewardprograms' then SEARCHREWARDPROGRAMS
  when 'revokepaymentnetworkid' then REVOKEPAYMENTNETWORKID
  when 'getcustomer' then GETCUSTOMER
  when 'getcustomerinfo' then GETCUSTOMERINFO
  when 'getcustomers' then GETCUSTOMERS
  when 'createnotificationsubscription' then CREATENOTIFICATIONSUBSCRIPTION
  when 'deletenotificationsubscription' then DELETENOTIFICATIONSUBSCRIPTION
  when 'getnotifications' then GETNOTIFICATIONS
  when 'getnotificationsubscription' then GETNOTIFICATIONSUBSCRIPTION
  when 'publishnotification' then PUBLISHNOTIFICATION
  when 'reportsuspectedfraudincident' then REPORTSUSPECTEDFRAUDINCIDENT
  when 'getavailability' then GETAVAILABILITY
  when 'getcapability' then GETCAPABILITY
  when 'getcertificationmetrics' then GETCERTIFICATIONMETRICS
  when 'cancelpayment' then CANCELPAYMENT
  when 'cancelrecurringpayment' then CANCELRECURRINGPAYMENT
  when 'canceltransfer' then CANCELTRANSFER
  when 'createpayee' then CREATEPAYEE
  when 'createpaymentinitiationparty' then CREATEPAYMENTINITIATIONPARTY
  when 'createpaymentmethod' then CREATEPAYMENTMETHOD
  when 'deletepayee' then DELETEPAYEE
  when 'deletepaymentinitiationparty' then DELETEPAYMENTINITIATIONPARTY
  when 'deletepaymentmethodregistration' then DELETEPAYMENTMETHODREGISTRATION
  when 'getpayee' then GETPAYEE
  when 'getpayment' then GETPAYMENT
  when 'getpaymentinitiationparty' then GETPAYMENTINITIATIONPARTY
  when 'getpaymentmethodregistration' then GETPAYMENTMETHODREGISTRATION
  when 'getpaymentsforrecurringpayment' then GETPAYMENTSFORRECURRINGPAYMENT
  when 'getrecurringpayment' then GETRECURRINGPAYMENT
  when 'getrequestforpayment' then GETREQUESTFORPAYMENT
  when 'gettransfer' then GETTRANSFER
  when 'listpaymentinitiationparties' then LISTPAYMENTINITIATIONPARTIES
  when 'requestaccounttransfer' then REQUESTACCOUNTTRANSFER
  when 'schedulepayment' then SCHEDULEPAYMENT
  when 'schedulerecurringpayment' then SCHEDULERECURRINGPAYMENT
  when 'searchforpayees' then SEARCHFORPAYEES
  when 'searchforpayments' then SEARCHFORPAYMENTS
  when 'searchforrecurringpayments' then SEARCHFORRECURRINGPAYMENTS
  when 'searchforrequestforpayments' then SEARCHFORREQUESTFORPAYMENTS
  when 'searchfortransfers' then SEARCHFORTRANSFERS
  when 'updateaccounttransfer' then UPDATEACCOUNTTRANSFER
  when 'updatepayee' then UPDATEPAYEE
  when 'updatepayment' then UPDATEPAYMENT
  when 'updatepaymentinitiationparty' then UPDATEPAYMENTINITIATIONPARTY
  when 'updatepaymentmethodregistration' then UPDATEPAYMENTMETHODREGISTRATION
  when 'updaterecurringpayment' then UPDATERECURRINGPAYMENT
  when 'getpayrollreport' then GETPAYROLLREPORT
  when 'getpayrollreports' then GETPAYROLLREPORTS
  when 'getpaystub' then GETPAYSTUB
  when 'getpaystubs' then GETPAYSTUBS
  when 'createrecipient' then CREATERECIPIENT
  when 'deleterecipient' then DELETERECIPIENT
  when 'getrecipient' then GETRECIPIENT
  when 'updaterecipient' then UPDATERECIPIENT
  when 'getdataprovider' then GETDATAPROVIDER
  when 'getregistryrecipient' then GETREGISTRYRECIPIENT
  when 'getregistryrecipients' then GETREGISTRYRECIPIENTS
  when 'searchfordataproviders' then SEARCHFORDATAPROVIDERS
  when 'createtaxform' then CREATETAXFORM
  when 'gettaxform' then GETTAXFORM
  when 'searchfortaxforms' then SEARCHFORTAXFORMS
  when 'updatetaxform' then UPDATETAXFORM
  when 'getresource' then GETRESOURCE
  when 'getresources' then GETRESOURCES
  else
    default_value
  end
end

.validate(value) ⇒ Object



263
264
265
266
267
# File 'lib/fdx_v660_api/models/fdx_resource_operation_id1.rb', line 263

def self.validate(value)
  return false if value.nil?

  true
end