Class: Peddler::APIs::OrdersV0::PrescriptionDetail
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::OrdersV0::PrescriptionDetail
- Defined in:
- sig/peddler/apis/orders_v0.rbs
Instance Attribute Summary collapse
-
#clinic_id ⇒ String
readonly
Returns the value of attribute clinic_id.
-
#expiration_date ⇒ Time
readonly
Returns the value of attribute expiration_date.
-
#prescription_id ⇒ String
readonly
Returns the value of attribute prescription_id.
-
#refills_remaining ⇒ Integer
readonly
Returns the value of attribute refills_remaining.
-
#total_refills_authorized ⇒ Integer
readonly
Returns the value of attribute total_refills_authorized.
-
#usage_instructions ⇒ String
readonly
Returns the value of attribute usage_instructions.
-
#written_quantity ⇒ Integer
readonly
Returns the value of attribute written_quantity.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :clinic_id, :expiration_date, :prescription_id, :refills_remaining, :total_refills_authorized, :usage_instructions, :written_quantity ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::OrdersV0::PrescriptionDetail
Instance Method Summary collapse
-
#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 }
Instance Attribute Details
#clinic_id ⇒ String (readonly)
Returns the value of attribute clinic_id.
946 947 948 |
# File 'sig/peddler/apis/orders_v0.rbs', line 946 def clinic_id @clinic_id end |
#expiration_date ⇒ Time (readonly)
Returns the value of attribute expiration_date.
947 948 949 |
# File 'sig/peddler/apis/orders_v0.rbs', line 947 def expiration_date @expiration_date end |
#prescription_id ⇒ String (readonly)
Returns the value of attribute prescription_id.
948 949 950 |
# File 'sig/peddler/apis/orders_v0.rbs', line 948 def prescription_id @prescription_id end |
#refills_remaining ⇒ Integer (readonly)
Returns the value of attribute refills_remaining.
949 950 951 |
# File 'sig/peddler/apis/orders_v0.rbs', line 949 def refills_remaining @refills_remaining end |
#total_refills_authorized ⇒ Integer (readonly)
Returns the value of attribute total_refills_authorized.
950 951 952 |
# File 'sig/peddler/apis/orders_v0.rbs', line 950 def @total_refills_authorized end |
#usage_instructions ⇒ String (readonly)
Returns the value of attribute usage_instructions.
951 952 953 |
# File 'sig/peddler/apis/orders_v0.rbs', line 951 def usage_instructions @usage_instructions end |
#written_quantity ⇒ Integer (readonly)
Returns the value of attribute written_quantity.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::OrdersV0::PrescriptionDetail
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 ]
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 }
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 }
|