Class: Google::Apis::ContentV2::OrderLineItemShippingDetails

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OrderLineItemShippingDetails

Returns a new instance of OrderLineItemShippingDetails



3643
3644
3645
# File 'generated/google/apis/content_v2/classes.rb', line 3643

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#deliver_by_dateString

The delivery by date, in ISO 8601 format. Corresponds to the JSON property deliverByDate

Returns:

  • (String)


3631
3632
3633
# File 'generated/google/apis/content_v2/classes.rb', line 3631

def deliver_by_date
  @deliver_by_date
end

#method_propGoogle::Apis::ContentV2::OrderLineItemShippingDetailsMethod

Details of the shipping method. Corresponds to the JSON property method



3636
3637
3638
# File 'generated/google/apis/content_v2/classes.rb', line 3636

def method_prop
  @method_prop
end

#ship_by_dateString

The ship by date, in ISO 8601 format. Corresponds to the JSON property shipByDate

Returns:

  • (String)


3641
3642
3643
# File 'generated/google/apis/content_v2/classes.rb', line 3641

def ship_by_date
  @ship_by_date
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3648
3649
3650
3651
3652
# File 'generated/google/apis/content_v2/classes.rb', line 3648

def update!(**args)
  @deliver_by_date = args[:deliver_by_date] if args.key?(:deliver_by_date)
  @method_prop = args[:method_prop] if args.key?(:method_prop)
  @ship_by_date = args[:ship_by_date] if args.key?(:ship_by_date)
end