class Vecos::API::LockerBookings

Defined in:

vecos/api/lockerbookings.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(session : Session) #

[View source]

Instance Method Detail

def create(start_date_time_utc : String, end_date_time_utc : String, locker_group_id : String, locker_bank_id : String, locker_id : String, external_user_id : String) #

[View source]
def delete(booking_id : String) #

[View source]
def list(external_user_id : String, page_number : Int32 = 1, page_size : Int32 = 10) #

[View source]
def list_availability(external_user_id : String, page_number : Int32 = 1, page_size : Int32 = 10, location_id : String | Nil = nil, section_id : String | Nil = nil, locker_bank_id : String | Nil = nil, locker_group_id : String | Nil = nil, locker_id : String | Nil = nil) #

[View source]