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)


926
927
928
# File 'sig/peddler/apis/orders_v0.rbs', line 926

def clinic_id
  @clinic_id
end

#expiration_dateTime (readonly)

Returns the value of attribute expiration_date.

Returns:

  • (Time)


927
928
929
# File 'sig/peddler/apis/orders_v0.rbs', line 927

def expiration_date
  @expiration_date
end

#prescription_idString (readonly)

Returns the value of attribute prescription_id.

Returns:

  • (String)


928
929
930
# File 'sig/peddler/apis/orders_v0.rbs', line 928

def prescription_id
  @prescription_id
end

#refills_remainingInteger (readonly)

Returns the value of attribute refills_remaining.

Returns:

  • (Integer)


929
930
931
# File 'sig/peddler/apis/orders_v0.rbs', line 929

def refills_remaining
  @refills_remaining
end

#total_refills_authorizedInteger (readonly)

Returns the value of attribute total_refills_authorized.

Returns:

  • (Integer)


930
931
932
# File 'sig/peddler/apis/orders_v0.rbs', line 930

def total_refills_authorized
  @total_refills_authorized
end

#usage_instructionsString (readonly)

Returns the value of attribute usage_instructions.

Returns:

  • (String)


931
932
933
# File 'sig/peddler/apis/orders_v0.rbs', line 931

def usage_instructions
  @usage_instructions
end

#written_quantityInteger (readonly)

Returns the value of attribute written_quantity.

Returns:

  • (Integer)


932
933
934
# File 'sig/peddler/apis/orders_v0.rbs', line 932

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:



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

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 ])


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

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:



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

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:



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

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 ])


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

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 })


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

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 }