Class: Peddler::APIs::OrdersV0::PrescriptionDetail

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/orders_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clinic_idString (readonly)

Returns the value of attribute clinic_id.

Returns:

  • (String)


946
947
948
# File 'sig/peddler/apis/orders_v0.rbs', line 946

def clinic_id
  @clinic_id
end

#expiration_dateTime (readonly)

Returns the value of attribute expiration_date.

Returns:

  • (Time)


947
948
949
# File 'sig/peddler/apis/orders_v0.rbs', line 947

def expiration_date
  @expiration_date
end

#prescription_idString (readonly)

Returns the value of attribute prescription_id.

Returns:

  • (String)


948
949
950
# File 'sig/peddler/apis/orders_v0.rbs', line 948

def prescription_id
  @prescription_id
end

#refills_remainingInteger (readonly)

Returns the value of attribute refills_remaining.

Returns:

  • (Integer)


949
950
951
# File 'sig/peddler/apis/orders_v0.rbs', line 949

def refills_remaining
  @refills_remaining
end

#total_refills_authorizedInteger (readonly)

Returns the value of attribute total_refills_authorized.

Returns:

  • (Integer)


950
951
952
# File 'sig/peddler/apis/orders_v0.rbs', line 950

def total_refills_authorized
  @total_refills_authorized
end

#usage_instructionsString (readonly)

Returns the value of attribute usage_instructions.

Returns:

  • (String)


951
952
953
# File 'sig/peddler/apis/orders_v0.rbs', line 951

def usage_instructions
  @usage_instructions
end

#written_quantityInteger (readonly)

Returns the value of attribute written_quantity.

Returns:

  • (Integer)


952
953
954
# File 'sig/peddler/apis/orders_v0.rbs', line 952

def written_quantity
  @written_quantity
end

Class Method Details

.[](clinic_id:, expiration_date:, prescription_id:, refills_remaining:, total_refills_authorized:, usage_instructions:, written_quantity:) ⇒ Peddler::APIs::OrdersV0::PrescriptionDetail .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::OrdersV0::PrescriptionDetail

Overloads:



939
940
# File 'sig/peddler/apis/orders_v0.rbs', line 939

def self.[]: (clinic_id: String, expiration_date: Time, prescription_id: String, refills_remaining: Integer, total_refills_authorized: Integer, usage_instructions: String, written_quantity: Integer) -> Peddler::APIs::OrdersV0::PrescriptionDetail
| (String, Time, String, Integer, Integer, String, Integer) -> Peddler::APIs::OrdersV0::PrescriptionDetail

.members[ :clinic_id, :expiration_date, :prescription_id, :refills_remaining, :total_refills_authorized, :usage_instructions, :written_quantity ]

Returns:

  • ([ :clinic_id, :expiration_date, :prescription_id, :refills_remaining, :total_refills_authorized, :usage_instructions, :written_quantity ])


942
# File 'sig/peddler/apis/orders_v0.rbs', line 942

def self.members: () -> [ :clinic_id, :expiration_date, :prescription_id, :refills_remaining, :total_refills_authorized, :usage_instructions, :written_quantity ]

.new(clinic_id:, expiration_date:, prescription_id:, refills_remaining:, total_refills_authorized:, usage_instructions:, written_quantity:) ⇒ Peddler::APIs::OrdersV0::PrescriptionDetail .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6) ⇒ Peddler::APIs::OrdersV0::PrescriptionDetail

Overloads:



937
938
# File 'sig/peddler/apis/orders_v0.rbs', line 937

def self.new: (clinic_id: String, expiration_date: Time, prescription_id: String, refills_remaining: Integer, total_refills_authorized: Integer, usage_instructions: String, written_quantity: Integer) -> Peddler::APIs::OrdersV0::PrescriptionDetail
| (String, Time, String, Integer, Integer, String, Integer) -> Peddler::APIs::OrdersV0::PrescriptionDetail

.parsePeddler::APIs::OrdersV0::PrescriptionDetail

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



944
# File 'sig/peddler/apis/orders_v0.rbs', line 944

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::OrdersV0::PrescriptionDetail

Instance Method Details

#members[ :clinic_id, :expiration_date, :prescription_id, :refills_remaining, :total_refills_authorized, :usage_instructions, :written_quantity ]

Returns:

  • ([ :clinic_id, :expiration_date, :prescription_id, :refills_remaining, :total_refills_authorized, :usage_instructions, :written_quantity ])


954
# File 'sig/peddler/apis/orders_v0.rbs', line 954

def members: () -> [ :clinic_id, :expiration_date, :prescription_id, :refills_remaining, :total_refills_authorized, :usage_instructions, :written_quantity ]

#to_h{ clinic_id: String, expiration_date: Time, prescription_id: String, refills_remaining: Integer, total_refills_authorized: Integer, usage_instructions: String, written_quantity: Integer }

Returns:

  • ({ clinic_id: String, expiration_date: Time, prescription_id: String, refills_remaining: Integer, total_refills_authorized: Integer, usage_instructions: String, written_quantity: Integer })


955
# File 'sig/peddler/apis/orders_v0.rbs', line 955

def to_h: () -> { clinic_id: String, expiration_date: Time, prescription_id: String, refills_remaining: Integer, total_refills_authorized: Integer, usage_instructions: String, written_quantity: Integer }