Class: Peddler::Notifications::TransactionUpdate::TransactionUpdateNotification

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/transaction_update.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#posted_dateString (readonly)

Returns the value of attribute posted_date.

Returns:

  • (String)


103
104
105
# File 'sig/peddler/notifications/transaction_update.rbs', line 103

def posted_date
  @posted_date
end

Returns the value of attribute related_identifiers.



104
105
106
# File 'sig/peddler/notifications/transaction_update.rbs', line 104

def related_identifiers
  @related_identifiers
end

#selling_partner_metadataPeddler::Notifications::TransactionUpdate::SellingPartnerMetadata (readonly)

Returns the value of attribute selling_partner_metadata.



105
106
107
# File 'sig/peddler/notifications/transaction_update.rbs', line 105

def 
  @selling_partner_metadata
end

#total_amountPeddler::Notifications::TransactionUpdate::TotalAmount (readonly)

Returns the value of attribute total_amount.



106
107
108
# File 'sig/peddler/notifications/transaction_update.rbs', line 106

def total_amount
  @total_amount
end

#transaction_typeString (readonly)

Returns the value of attribute transaction_type.

Returns:

  • (String)


107
108
109
# File 'sig/peddler/notifications/transaction_update.rbs', line 107

def transaction_type
  @transaction_type
end

Class Method Details

.[](posted_date:, selling_partner_metadata:, total_amount:, transaction_type:, related_identifiers:) ⇒ Peddler::Notifications::TransactionUpdate::TransactionUpdateNotification .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::Notifications::TransactionUpdate::TransactionUpdateNotification



96
97
# File 'sig/peddler/notifications/transaction_update.rbs', line 96

def self.[]: (posted_date: String, selling_partner_metadata: Peddler::Notifications::TransactionUpdate::SellingPartnerMetadata, total_amount: Peddler::Notifications::TransactionUpdate::TotalAmount, transaction_type: String, ?related_identifiers: Array[Peddler::Notifications::TransactionUpdate::RelatedIdentifier]?) -> Peddler::Notifications::TransactionUpdate::TransactionUpdateNotification
| (String, Peddler::Notifications::TransactionUpdate::SellingPartnerMetadata, Peddler::Notifications::TransactionUpdate::TotalAmount, String, Array[Peddler::Notifications::TransactionUpdate::RelatedIdentifier]?) -> Peddler::Notifications::TransactionUpdate::TransactionUpdateNotification

.members[ :posted_date, :selling_partner_metadata, :total_amount, :transaction_type, :related_identifiers ]

Returns:

  • ([ :posted_date, :selling_partner_metadata, :total_amount, :transaction_type, :related_identifiers ])


99
# File 'sig/peddler/notifications/transaction_update.rbs', line 99

def self.members: () -> [ :posted_date, :selling_partner_metadata, :total_amount, :transaction_type, :related_identifiers ]

.new(posted_date:, selling_partner_metadata:, total_amount:, transaction_type:, related_identifiers:) ⇒ Peddler::Notifications::TransactionUpdate::TransactionUpdateNotification .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::Notifications::TransactionUpdate::TransactionUpdateNotification



94
95
# File 'sig/peddler/notifications/transaction_update.rbs', line 94

def self.new: (posted_date: String, selling_partner_metadata: Peddler::Notifications::TransactionUpdate::SellingPartnerMetadata, total_amount: Peddler::Notifications::TransactionUpdate::TotalAmount, transaction_type: String, ?related_identifiers: Array[Peddler::Notifications::TransactionUpdate::RelatedIdentifier]?) -> Peddler::Notifications::TransactionUpdate::TransactionUpdateNotification
| (String, Peddler::Notifications::TransactionUpdate::SellingPartnerMetadata, Peddler::Notifications::TransactionUpdate::TotalAmount, String, Array[Peddler::Notifications::TransactionUpdate::RelatedIdentifier]?) -> Peddler::Notifications::TransactionUpdate::TransactionUpdateNotification

.parsePeddler::Notifications::TransactionUpdate::TransactionUpdateNotification

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



101
# File 'sig/peddler/notifications/transaction_update.rbs', line 101

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::TransactionUpdate::TransactionUpdateNotification

Instance Method Details

#members[ :posted_date, :selling_partner_metadata, :total_amount, :transaction_type, :related_identifiers ]

Returns:

  • ([ :posted_date, :selling_partner_metadata, :total_amount, :transaction_type, :related_identifiers ])


109
# File 'sig/peddler/notifications/transaction_update.rbs', line 109

def members: () -> [ :posted_date, :selling_partner_metadata, :total_amount, :transaction_type, :related_identifiers ]

#to_h{ posted_date: String, selling_partner_metadata: Peddler::Notifications::TransactionUpdate::SellingPartnerMetadata, total_amount: Peddler::Notifications::TransactionUpdate::TotalAmount, transaction_type: String, related_identifiers: Array[Peddler::Notifications::TransactionUpdate::RelatedIdentifier]? }

Returns:



110
# File 'sig/peddler/notifications/transaction_update.rbs', line 110

def to_h: () -> { posted_date: String, selling_partner_metadata: Peddler::Notifications::TransactionUpdate::SellingPartnerMetadata, total_amount: Peddler::Notifications::TransactionUpdate::TotalAmount, transaction_type: String, related_identifiers: Array[Peddler::Notifications::TransactionUpdate::RelatedIdentifier]? }