Class: SolidusGraphqlApi::Types::PromotionAdjustment

Inherits:
Base::RelayNode show all
Defined in:
lib/solidus_graphql_api/types/promotion_adjustment.rb

Instance Method Summary collapse

Methods inherited from Base::Object

remove_field

Instance Method Details

#promotion_codeObject



12
13
14
# File 'lib/solidus_graphql_api/types/promotion_adjustment.rb', line 12

def promotion_code
  object.promotion_code&.value
end