Class: Stripe::Issuing::Transaction::CreateUnlinkedRefundParams::MerchantData

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/issuing/transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(category: nil, city: nil, country: nil, name: nil, network_id: nil, postal_code: nil, state: nil, terminal_id: nil, url: nil) ⇒ MerchantData

Returns a new instance of MerchantData.



599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
# File 'lib/stripe/resources/issuing/transaction.rb', line 599

def initialize(
  category: nil,
  city: nil,
  country: nil,
  name: nil,
  network_id: nil,
  postal_code: nil,
  state: nil,
  terminal_id: nil,
  url: nil
)
  @category = category
  @city = city
  @country = country
  @name = name
  @network_id = network_id
  @postal_code = postal_code
  @state = state
  @terminal_id = terminal_id
  @url = url
end

Instance Attribute Details

#categoryObject

A categorization of the seller’s type of business. See our [merchant categories guide](stripe.com/docs/issuing/merchant-categories) for a list of possible values.



581
582
583
# File 'lib/stripe/resources/issuing/transaction.rb', line 581

def category
  @category
end

#cityObject

City where the seller is located



583
584
585
# File 'lib/stripe/resources/issuing/transaction.rb', line 583

def city
  @city
end

#countryObject

Country where the seller is located



585
586
587
# File 'lib/stripe/resources/issuing/transaction.rb', line 585

def country
  @country
end

#nameObject

Name of the seller



587
588
589
# File 'lib/stripe/resources/issuing/transaction.rb', line 587

def name
  @name
end

#network_idObject

Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant.



589
590
591
# File 'lib/stripe/resources/issuing/transaction.rb', line 589

def network_id
  @network_id
end

#postal_codeObject

Postal code where the seller is located



591
592
593
# File 'lib/stripe/resources/issuing/transaction.rb', line 591

def postal_code
  @postal_code
end

#stateObject

State where the seller is located



593
594
595
# File 'lib/stripe/resources/issuing/transaction.rb', line 593

def state
  @state
end

#terminal_idObject

An ID assigned by the seller to the location of the sale.



595
596
597
# File 'lib/stripe/resources/issuing/transaction.rb', line 595

def terminal_id
  @terminal_id
end

#urlObject

URL provided by the merchant on a 3DS request



597
598
599
# File 'lib/stripe/resources/issuing/transaction.rb', line 597

def url
  @url
end