class Rev::OrderRequest
Attributes
caption_options[R]
see {Rev::CaptionOptions}
client_ref[R]
a reference number for the order meaningful for the client (optional)
non_standard_tat_guarantee[R]
a boolean flag specifying whether normal turnaround time is not required, defaults to false (optional)
notification[R]
see {Rev::Notification}
payment[R]
see {Rev::Payment}
transcription_options[R]
see {Rev::TranscriptionOptions}
Public Class Methods
new(fields = {})
click to toggle source
@param fields [Hash] of fields to initialize instance. See instance attributes for available fields.
Calls superclass method
Rev::ApiSerializable::new
# File lib/rev-api/models/order_request.rb, line 44 def initialize(fields = {}) fields = { :non_standard_tat_guarantee => false }.merge(fields) @payment = Rev::Payment.with_account_balance super fields end
new_with_payment(payment, fields = {})
click to toggle source
@param payment [Payment] payment info @param fields [Hash] of fields to initialize instance. See instance attributes for available fields. @deprecated payment always defaults to :account_balance
Calls superclass method
# File lib/rev-api/models/order_request.rb, line 37 def self.new_with_payment(payment, fields = {}) fields = { :non_standard_tat_guarantee => false }.merge(fields) super fields @payment = payment end