Class: Google::Shopping::Merchant::Lfp::V1beta::LfpSale

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb

Overview

A sale for the merchant.

Instance Attribute Summary collapse

Instance Attribute Details

#content_language::String

Returns Required. The two-letter ISO 639-1 language code for the item.

Returns:

  • (::String)

    Required. The two-letter ISO 639-1 language code for the item.



75
76
77
78
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb', line 75

class LfpSale
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#feed_label::String

Returns Optional. The feed label for the product. If this is not set, it will default to regionCode.

Returns:

  • (::String)

    Optional. The feed label for the product. If this is not set, it will default to regionCode.



75
76
77
78
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb', line 75

class LfpSale
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gtin::String

Returns Required. The Global Trade Item Number of the sold product.

Returns:

  • (::String)

    Required. The Global Trade Item Number of the sold product.



75
76
77
78
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb', line 75

class LfpSale
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String (readonly)

Returns Output only. Identifier. The name of the LfpSale resource. Format: accounts/{account}/lfpSales/{sale}.

Returns:

  • (::String)

    Output only. Identifier. The name of the LfpSale resource. Format: accounts/{account}/lfpSales/{sale}



75
76
77
78
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb', line 75

class LfpSale
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#offer_id::String

Returns Required. A unique identifier for the product. If both inventories and sales are submitted for a merchant, this id should match for the same product.

Note: if the merchant sells the same product new and used, they should have different IDs.

Returns:

  • (::String)

    Required. A unique identifier for the product. If both inventories and sales are submitted for a merchant, this id should match for the same product.

    Note: if the merchant sells the same product new and used, they should have different IDs.



75
76
77
78
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb', line 75

class LfpSale
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#price::Google::Shopping::Type::Price

Returns Required. The unit price of the product.

Returns:



75
76
77
78
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb', line 75

class LfpSale
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#quantity::Integer

Required. The relative change of the available quantity. Negative for items returned.

Returns:

  • (::Integer)

    Required. The relative change of the available quantity. Negative for items returned.



75
76
77
78
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb', line 75

class LfpSale
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#region_code::String

Returns Required. The CLDR territory code for the country where the product is sold.

Returns:



75
76
77
78
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb', line 75

class LfpSale
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#sale_time::Google::Protobuf::Timestamp

Returns Required. The timestamp for the sale.

Returns:



75
76
77
78
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb', line 75

class LfpSale
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#store_code::String

Returns Required. The identifier of the merchant's store. Either a storeCode inserted through the API or the code of the store in the Business Profile.

Returns:

  • (::String)

    Required. The identifier of the merchant's store. Either a storeCode inserted through the API or the code of the store in the Business Profile.



75
76
77
78
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb', line 75

class LfpSale
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#target_account::Integer

Returns Required. The Merchant Center ID of the merchant to submit the sale for.

Returns:

  • (::Integer)

    Required. The Merchant Center ID of the merchant to submit the sale for.



75
76
77
78
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb', line 75

class LfpSale
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#uid::String (readonly)

Returns Output only. System generated globally unique ID for the LfpSale.

Returns:

  • (::String)

    Output only. System generated globally unique ID for the LfpSale.



75
76
77
78
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpsale.rb', line 75

class LfpSale
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end