class UserOrder::DeleteOperation

Defined in:

Constant Summary

ATTRIBUTES = [] of Nil
COLUMN_ATTRIBUTES = [{name: id, type: Int32, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: created_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: updated_at, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false}, {name: delivery_point_type, type: String, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: delivery_point_id, type: Int32, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: planned_delivery_date, type: Time, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: delivered_at, type: Time, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: total_cost, type: Float64, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: total_weight, type: Float64, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: planned_delivery_time_interval, type: Int16, nilable: true, autogenerated: false, value: nil, serialized: false}, {name: used_bonuses, type: Int16, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: earned_bonuses, type: Int16, nilable: false, autogenerated: false, value: nil, serialized: false}, {name: earned_bonuses_state, type: Int16, nilable: false, autogenerated: false, value: nil, serialized: false}] of Nil
OPERATION_NEEDS = [] of Nil

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(record : T, params : Avram::Paramable, id : Int32 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, delivery_point_type : String | Avram::Nothing = Avram::Nothing.new, delivery_point_id : Int32 | Avram::Nothing = Avram::Nothing.new, planned_delivery_date : Time | Avram::Nothing | Nil = Avram::Nothing.new, delivered_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, total_cost : Float64 | Avram::Nothing = Avram::Nothing.new, total_weight : Float64 | Avram::Nothing = Avram::Nothing.new, planned_delivery_time_interval : Int16 | Avram::Nothing | Nil = Avram::Nothing.new, used_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses_state : Int16 | Avram::Nothing = Avram::Nothing.new) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.new(record : T, id : Int32 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, delivery_point_type : String | Avram::Nothing = Avram::Nothing.new, delivery_point_id : Int32 | Avram::Nothing = Avram::Nothing.new, planned_delivery_date : Time | Avram::Nothing | Nil = Avram::Nothing.new, delivered_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, total_cost : Float64 | Avram::Nothing = Avram::Nothing.new, total_weight : Float64 | Avram::Nothing = Avram::Nothing.new, planned_delivery_time_interval : Int16 | Avram::Nothing | Nil = Avram::Nothing.new, used_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses_state : Int16 | Avram::Nothing = Avram::Nothing.new) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


Class Method Detail

def self.delete(record : T, params, id : Int32 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, delivery_point_type : String | Avram::Nothing = Avram::Nothing.new, delivery_point_id : Int32 | Avram::Nothing = Avram::Nothing.new, planned_delivery_date : Time | Avram::Nothing | Nil = Avram::Nothing.new, delivered_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, total_cost : Float64 | Avram::Nothing = Avram::Nothing.new, total_weight : Float64 | Avram::Nothing = Avram::Nothing.new, planned_delivery_time_interval : Int16 | Avram::Nothing | Nil = Avram::Nothing.new, used_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses_state : Int16 | Avram::Nothing = Avram::Nothing.new, &) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete(record : T, id : Int32 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, delivery_point_type : String | Avram::Nothing = Avram::Nothing.new, delivery_point_id : Int32 | Avram::Nothing = Avram::Nothing.new, planned_delivery_date : Time | Avram::Nothing | Nil = Avram::Nothing.new, delivered_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, total_cost : Float64 | Avram::Nothing = Avram::Nothing.new, total_weight : Float64 | Avram::Nothing = Avram::Nothing.new, planned_delivery_time_interval : Int16 | Avram::Nothing | Nil = Avram::Nothing.new, used_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses_state : Int16 | Avram::Nothing = Avram::Nothing.new, &) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete(record : T, params : Hash, **named_args, &) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete!(record : T, params, id : Int32 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, delivery_point_type : String | Avram::Nothing = Avram::Nothing.new, delivery_point_id : Int32 | Avram::Nothing = Avram::Nothing.new, planned_delivery_date : Time | Avram::Nothing | Nil = Avram::Nothing.new, delivered_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, total_cost : Float64 | Avram::Nothing = Avram::Nothing.new, total_weight : Float64 | Avram::Nothing = Avram::Nothing.new, planned_delivery_time_interval : Int16 | Avram::Nothing | Nil = Avram::Nothing.new, used_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses_state : Int16 | Avram::Nothing = Avram::Nothing.new) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete!(record : T, id : Int32 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, delivery_point_type : String | Avram::Nothing = Avram::Nothing.new, delivery_point_id : Int32 | Avram::Nothing = Avram::Nothing.new, planned_delivery_date : Time | Avram::Nothing | Nil = Avram::Nothing.new, delivered_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, total_cost : Float64 | Avram::Nothing = Avram::Nothing.new, total_weight : Float64 | Avram::Nothing = Avram::Nothing.new, planned_delivery_time_interval : Int16 | Avram::Nothing | Nil = Avram::Nothing.new, used_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses_state : Int16 | Avram::Nothing = Avram::Nothing.new) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def self.delete!(record : T, params : Hash, **named_args) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


Instance Method Detail

def attributes #

def created_at #

def created_at=(_value) #

def delete_status : DeleteStatus #

def delete_status=(delete_status : DeleteStatus) #

def delivered_at #

def delivered_at=(_value) #

def delivery_point_id #

def delivery_point_id=(_value) #

def delivery_point_type #

def delivery_point_type=(_value) #

def earned_bonuses #

def earned_bonuses=(_value) #

def earned_bonuses_state #

def earned_bonuses_state=(_value) #

def id #

def id=(_value) #

def params : Avram::Paramable #

def permitted_params #

def planned_delivery_date #

def planned_delivery_date=(_value) #

def planned_delivery_time_interval #

def planned_delivery_time_interval=(_value) #

def record : UserOrder #

def set_attributes(id : Int32 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, delivery_point_type : String | Avram::Nothing = Avram::Nothing.new, delivery_point_id : Int32 | Avram::Nothing = Avram::Nothing.new, planned_delivery_date : Time | Avram::Nothing | Nil = Avram::Nothing.new, delivered_at : Time | Avram::Nothing | Nil = Avram::Nothing.new, total_cost : Float64 | Avram::Nothing = Avram::Nothing.new, total_weight : Float64 | Avram::Nothing = Avram::Nothing.new, planned_delivery_time_interval : Int16 | Avram::Nothing | Nil = Avram::Nothing.new, used_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses : Int16 | Avram::Nothing = Avram::Nothing.new, earned_bonuses_state : Int16 | Avram::Nothing = Avram::Nothing.new) #

This is called at the end so @type will be of the subclass, and not the parent abstract class.


def set_created_at_from_param(_value) #

def set_delivered_at_from_param(_value) #

def set_delivery_point_id_from_param(_value) #

def set_delivery_point_type_from_param(_value) #

def set_earned_bonuses_from_param(_value) #

def set_earned_bonuses_state_from_param(_value) #

def set_id_from_param(_value) #

def set_planned_delivery_date_from_param(_value) #

def set_planned_delivery_time_interval_from_param(_value) #

def set_total_cost_from_param(_value) #

def set_total_weight_from_param(_value) #

def set_updated_at_from_param(_value) #

def set_used_bonuses_from_param(_value) #

def total_cost #

def total_cost=(_value) #

def total_weight #

def total_weight=(_value) #

def updated_at #

def updated_at=(_value) #

def used_bonuses #

def used_bonuses=(_value) #

Macro Detail

macro param_key(key) #